# Dependencies are "expressed" by the hosts file, e.g.
# ```
+# [email:children]
+# journalwatch
# [letsencrypt:children]
-# apache
-# email
+# prosody
# ```
# I tried using role dependencies but that doesn't interact well with tags:
# When restricting to a tag, its dependencies still get played.
tags: letsencrypt
- hosts: email
- # depends: letsencrypt, unbound
gather_facts: no
roles:
- email
- hosts: prosody
# depends: letsencrypt
gather_facts: no
+ pre_tasks:
+ - setup:
roles:
- prosody
tags: prosody
- hosts: apache
- # depends: letsencrypt
gather_facts: no
roles:
- apache