journalwatch: postfix
[ansible.git] / site.yml
index 74658bfd449820aa4aa44ea7c11826fa5af02238..d503df387bc67c2d98a51316b364ddb5036a1622 100644 (file)
--- a/site.yml
+++ b/site.yml
@@ -1,3 +1,13 @@
+# Dependencies are "expressed" by the hosts file, e.g.
+# ```
+# [email:children]
+# journalwatch
+# [letsencrypt:children]
+# prosody
+# ```
+# 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:
@@ -25,6 +35,7 @@
   tags: email
 
 - hosts: journalwatch
+  # depends: email
   gather_facts: no
   roles:
   - journalwatch
   tags: etherpad
 
 - hosts: prosody
+  # depends: letsencrypt
   gather_facts: no
+  pre_tasks:
+  - setup:
   roles:
   - prosody
   tags: prosody