X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/ee0707947ed908dfcba302f36dacc330316382d8..e7f0dda5b871d22ea9925aeaf8a1513d9833128b:/site.yml diff --git a/site.yml b/site.yml index 74658bf..f7fbc70 100644 --- a/site.yml +++ b/site.yml @@ -1,3 +1,12 @@ +# 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: @@ -25,6 +34,7 @@ tags: email - hosts: journalwatch + # depends: email gather_facts: no roles: - journalwatch @@ -43,7 +53,10 @@ tags: etherpad - hosts: prosody + # depends: letsencrypt gather_facts: no + pre_tasks: + - setup: roles: - prosody tags: prosody