## # Ansible file to install VPN based on [strongSwan](https://www.strongswan.org/) # --- # file: roles/vpn/tasks/main.yml - name: VPN Role set_fact: role_vpn_started: yes tags: - always - block: - name: Import vpn import_tasks: vpn.yml - name: Remember that this role had been run set_fact: role_vpn_completed: yes tags: - always when: not excluded_roles or "vpn" not in excluded_roles and role_vpn_completed is not defined and vpn is defined and vpn.subnet is defined