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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user