diff options
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/p.yml | 12 | ||||
-rw-r--r-- | playbooks/pf.yml | 8 | ||||
-rw-r--r-- | playbooks/site.yml | 8 | ||||
-rw-r--r-- | playbooks/sshdns.yml | 13 | ||||
-rw-r--r-- | playbooks/update.yml | 11 |
5 files changed, 52 insertions, 0 deletions
diff --git a/playbooks/p.yml b/playbooks/p.yml new file mode 100644 index 0000000..0e37fb8 --- /dev/null +++ b/playbooks/p.yml @@ -0,0 +1,12 @@ + +# p.yml + +--- + +- hosts: "{{ host }}" + + tasks: + + - include_role: + name: "{{ role }}" + tasks_from: "{{ task }}" diff --git a/playbooks/pf.yml b/playbooks/pf.yml new file mode 100644 index 0000000..683cf69 --- /dev/null +++ b/playbooks/pf.yml @@ -0,0 +1,8 @@ + +# pf.yml +# pf for openbsd hosts. + +- hosts: openbsd + + roles: + - pf diff --git a/playbooks/site.yml b/playbooks/site.yml new file mode 100644 index 0000000..29f4033 --- /dev/null +++ b/playbooks/site.yml @@ -0,0 +1,8 @@ + +# site.yml +# Deploy configuration to all servers. + +- hosts: all + + roles: + - common diff --git a/playbooks/sshdns.yml b/playbooks/sshdns.yml new file mode 100644 index 0000000..a73624c --- /dev/null +++ b/playbooks/sshdns.yml @@ -0,0 +1,13 @@ + +# sshdns.yml +# bind host to dns for ssh + +--- + +- hosts: localhost + + tasks: + + - include_role: + name: ssh + tasks_from: generate_dns diff --git a/playbooks/update.yml b/playbooks/update.yml new file mode 100644 index 0000000..ca2587e --- /dev/null +++ b/playbooks/update.yml @@ -0,0 +1,11 @@ + +# update.yml + +--- + +- name: Updates all instances with latest packages from their distribution repositories + strategy: free + hosts: servers + roles: + - update + |