aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-19 23:39:47 +0100
committerbinary <me@rgoncalves.se>2020-11-19 23:39:47 +0100
commit5a42c1c27eaf683b6bf51e0d875c5a7fc1ce670c (patch)
tree19af5996b37bf8127d933aa7ed9040d902b27802 /playbooks
parent4d4c3509914cacb571901840780d845ee32d0769 (diff)
downloadinfrastructure-5a42c1c27eaf683b6bf51e0d875c5a7fc1ce670c.tar.gz
Refactor ssh in sub roles
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/network.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/playbooks/network.yml b/playbooks/network.yml
index c80aea0..b0c5448 100644
--- a/playbooks/network.yml
+++ b/playbooks/network.yml
@@ -5,14 +5,14 @@
---
- hosts: localhost
- tasks:
- - include_role: name=ssh tasks_from=generate_dns.yml
+ roles:
+ - { role: ssh_dns }
- hosts: servers
roles:
- - ssh
- - wireguard
+ - { role: sshd }
+ - { role: wireguard }
- hosts: dcontroller
roles:
- - pf
+ - { role: pf }
remember that computers suck.