From 5a42c1c27eaf683b6bf51e0d875c5a7fc1ce670c Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 19 Nov 2020 23:39:47 +0100 Subject: Refactor ssh in sub roles --- playbooks/network.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'playbooks') 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 } -- cgit v1.2.3