roles/dch-openvpn-server: Use firemon_networks

The routes to FireMon networks are now defined using the
`firemon_networks` Ansible variable. The global `iroute` and
client-specific `route` options are generated from the CIDR blocks
specified in this list.
This commit is contained in:
2018-08-26 17:03:54 -05:00
parent 88dd80e6fd
commit 07356697c8
3 changed files with 9 additions and 9 deletions

View File

@@ -24,12 +24,12 @@
mode=0755
state=directory
- name: ensure openvpn client config files are set
copy:
template:
src={{ item }}
dest=/etc/openvpn/server/clients/{{ item|basename }}
dest=/etc/openvpn/server/clients/{{ (item|basename|splitext)[0] }}
mode=0640
notify: restart pyrocufflink openvpn server
with_fileglob: 'clients/*'
with_fileglob: '../templates/clients/*.j2'
- name: ensure openvpn ca certificate is installed
copy: