ansible/playbook-wireguard.yml

15 lines
295 B
YAML
Raw Permalink 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
2020-08-11 00:16:44 +00:00
state: enabled
when: "'frames' in group_names"