Browse Source

Modify vpn task

master
blallo 9 months ago
parent
commit
0fcea1a83b
Signed by: blallo GPG Key ID: 0CBE577C9B72DC3F
  1. 1
      tasks/main.yml
  2. 4
      tasks/vpn.yml

1
tasks/main.yml

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

4
tasks/vpn.yml

@ -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…
Cancel
Save