Modify vpn task

This commit is contained in:
sfigato 2021-03-03 19:09:17 +01:00
parent aba78f8449
commit 0fcea1a83b
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
2 changed files with 3 additions and 2 deletions

View File

@ -6,3 +6,4 @@
- include_tasks: nginx.yml
- include_tasks: samba.yml
- include_tasks: vpn.yml
when: torrent_server.openvpn is defined

View File

@ -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