ansible/playbook-wireguard.yml

15 lines
295 B
YAML
Raw Normal View History

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