Modify vpn task
This commit is contained in:
parent
aba78f8449
commit
0fcea1a83b
|
@ -6,3 +6,4 @@
|
|||
- include_tasks: nginx.yml
|
||||
- include_tasks: samba.yml
|
||||
- include_tasks: vpn.yml
|
||||
when: torrent_server.openvpn is defined
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
copy:
|
||||
src: vpn/
|
||||
dest: /etc/openvpn/client/
|
||||
mode: 0644
|
||||
mode: 0600
|
||||
owner: root
|
||||
group: root
|
||||
notify: Restart openvpn
|
||||
|
@ -16,7 +16,7 @@
|
|||
- name: Ensure the passfile is present
|
||||
template:
|
||||
src: passfile.j2
|
||||
dest: /etc/openvpn/client/passfile
|
||||
dest: /etc/openvpn/client/login.txt
|
||||
mode: 0600
|
||||
owner: root
|
||||
group: root
|
||||
|
|
Loading…
Reference in New Issue
Block a user