journalwatch: only filter broken conterinerization messages on strato machines
[ansible.git] / site.yml
index a9e891688f2ad95c4a7fbda346bedddaa4847247..f7fbc707f66e30071f1840e1c7f6bc9ca92b2d2a 100644 (file)
--- a/site.yml
+++ b/site.yml
@@ -1,5 +1,68 @@
-- import_playbook: base.yml
-- import_playbook: upgrade.yml
-- import_playbook: email.yml
-- import_playbook: web.yml
-- import_playbook: jabber.yml
+# Dependencies are "expressed" by the hosts file, e.g.
+# ```
+# [letsencrypt:children]
+# apache
+# email
+# ```
+# I tried using role dependencies but that doesn't interact well with tags:
+# When restricting to a tag, its dependencies still get played.
+
+- hosts: all
+  gather_facts: no
+  pre_tasks:
+  - setup:
+  roles:
+  - base
+  tags: base
+
+- hosts: unbound
+  gather_facts: no
+  roles:
+  - unbound
+  tags: unbound
+
+- hosts: letsencrypt
+  gather_facts: no
+  roles:
+  - letsencrypt
+  tags: letsencrypt
+
+- hosts: email
+  gather_facts: no
+  roles:
+  - email
+  tags: email
+
+- hosts: journalwatch
+  # depends: email
+  gather_facts: no
+  roles:
+  - journalwatch
+  tags: journalwatch
+
+- hosts: bind
+  gather_facts: no
+  roles:
+  - bind
+  tags: bind
+
+- hosts: etherpad
+  gather_facts: no
+  roles:
+  - etherpad
+  tags: etherpad
+
+- hosts: prosody
+  # depends: letsencrypt
+  gather_facts: no
+  pre_tasks:
+  - setup:
+  roles:
+  - prosody
+  tags: prosody
+
+- hosts: apache
+  gather_facts: no
+  roles:
+  - apache
+  tags: apache