Move vars to group config, var hashes in roles cannot be merged

This commit is contained in:
Alex 2020-05-16 23:41:56 +02:00
parent ae605e6f65
commit 47ae9f14eb
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 0 additions and 11 deletions

View File

@ -1,11 +0,0 @@
file:
- { path: '/etc/wireguard', owner: 'root', group: 'root', mode: '600', state: directory }
apt_packages:
- { package: "wireguard-tools", state: present }
- { package: "wireguard", state: present }
systemd:
services:
- { name: "wg-quick@wg0", enabled: true, state: restarted }
firewall:
- { port: "{{ services.wireguard.port }}", ipv: "v4", proto: "tcp" }
- { port: "{{ services.wireguard.port }}", ipv: "v6", proto: "tcp" }