diff options
author | binary <me@rgoncalves.se> | 2020-11-12 14:30:44 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-12 14:30:44 +0100 |
commit | e96171654a430e89f7dd515746ad2dda7ae6190a (patch) | |
tree | 3390b62dc94f8c02b11803e14d41e2993da86195 | |
parent | bd50f2355502263970419213c1b33bcca8cc48de (diff) | |
download | infrastructure-e96171654a430e89f7dd515746ad2dda7ae6190a.tar.gz |
Add wireguard playbook
-rw-r--r-- | playbooks/network.yml | 5 | ||||
-rw-r--r-- | playbooks/wireguard.yml | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/playbooks/network.yml b/playbooks/network.yml index c3bb76f..98a66ae 100644 --- a/playbooks/network.yml +++ b/playbooks/network.yml @@ -10,7 +10,10 @@ name: ssh tasks_from: generate_dns.yml -- hosts: openbsd +- hosts: all roles: - ssh + +- hosts: dcontroller + roles: - pf diff --git a/playbooks/wireguard.yml b/playbooks/wireguard.yml new file mode 100644 index 0000000..d995b5c --- /dev/null +++ b/playbooks/wireguard.yml @@ -0,0 +1,11 @@ + +# site.yml +# Deploy configuration to all servers. + +--- + +- hosts: all + gather_facts: no + roles: + - wireguard + |