From 79610f53d3bdf8b45bbf8acac44b27e2cf296f57 Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 18 Nov 2020 09:40:44 +0100 Subject: Per dsitribution network rules --- playbooks/network.yml | 2 +- playbooks/p.yml | 13 ------------- playbooks/site.yml | 3 ++- playbooks/sshdns.yml | 1 - 4 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 playbooks/p.yml (limited to 'playbooks') diff --git a/playbooks/network.yml b/playbooks/network.yml index 98a66ae..c9ddecf 100644 --- a/playbooks/network.yml +++ b/playbooks/network.yml @@ -10,7 +10,7 @@ name: ssh tasks_from: generate_dns.yml -- hosts: all +- hosts: servers roles: - ssh diff --git a/playbooks/p.yml b/playbooks/p.yml deleted file mode 100644 index 49c3200..0000000 --- a/playbooks/p.yml +++ /dev/null @@ -1,13 +0,0 @@ - -# p.yml -# Execute only one role - ---- - -- hosts: "{{ host }}" - - tasks: - - - include_role: - name: "{{ role }}" - tasks_from: "{{ task }}.yml" diff --git a/playbooks/site.yml b/playbooks/site.yml index f493eb1..0775b58 100644 --- a/playbooks/site.yml +++ b/playbooks/site.yml @@ -5,4 +5,5 @@ - hosts: servers roles: - - common + - { role : common } + - { role: tools } diff --git a/playbooks/sshdns.yml b/playbooks/sshdns.yml index a73624c..d343cf4 100644 --- a/playbooks/sshdns.yml +++ b/playbooks/sshdns.yml @@ -5,7 +5,6 @@ --- - hosts: localhost - tasks: - include_role: -- cgit v1.2.3