2020-08-04 22:17:13 +00:00
|
|
|
---
|
|
|
|
- hosts: all
|
|
|
|
become: yes
|
|
|
|
roles:
|
|
|
|
- wireguard
|
2020-08-11 00:14:48 +00:00
|
|
|
tasks:
|
|
|
|
- name: Setup wireguard as trusted network
|
|
|
|
firewalld:
|
|
|
|
zone: trusted
|
|
|
|
immediate: yes
|
|
|
|
interface: wg0
|
|
|
|
permanent: yes
|
2020-08-11 00:16:44 +00:00
|
|
|
state: enabled
|
2020-08-11 00:14:48 +00:00
|
|
|
when: "'frames' in group_names"
|