diff options
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/network.yml | 2 | ||||
-rw-r--r-- | playbooks/p.yml | 13 | ||||
-rw-r--r-- | playbooks/site.yml | 3 | ||||
-rw-r--r-- | playbooks/sshdns.yml | 1 |
4 files changed, 3 insertions, 16 deletions
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: |