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