Skip to content

Commit

Permalink
Fix VPN client configs
Browse files Browse the repository at this point in the history
  • Loading branch information
panthomakos committed May 2, 2017
1 parent eed1917 commit 918584d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ansible/roles/system/tasks/dropbox.yml
Expand Up @@ -27,8 +27,11 @@
- stat: path={{ home }}/Dropbox/sync/vpn/etc
become: no
register: vpn
- file: src={{ home }}/Dropbox/sync/vpn/etc
dest=/etc/openvpn/client
state=link
force=yes
when: sync.stat.exists
- copy:
src: "{{ item }}"
dest: /etc/openvpn/client/
owner: root
mode: "0600"
with_fileglob:
- "{{ home }}/Dropbox/sync/vpn/etc/*.conf"
when: vpn.stat.exists

0 comments on commit 918584d

Please sign in to comment.