diff options
author | binary <me@rgoncalves.se> | 2020-11-18 09:40:44 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-18 09:40:44 +0100 |
commit | 79610f53d3bdf8b45bbf8acac44b27e2cf296f57 (patch) | |
tree | 5769352da6f32e6620af1f88812a41b581687747 /playbooks | |
parent | 99000f116579866bb98254450bae50a6c00f8465 (diff) | |
download | infrastructure-79610f53d3bdf8b45bbf8acac44b27e2cf296f57.tar.gz |
Per dsitribution network rules
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: |