X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/a0ef97a3169e9da8b4618116075d54c49b4292b4..26edc2db034e4228800930addc07d0ede28c7dd8:/site.yml?ds=sidebyside diff --git a/site.yml b/site.yml index 32c2a20..d503df3 100644 --- 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: @@ -6,6 +16,12 @@ - base tags: base +- hosts: unbound + gather_facts: no + roles: + - unbound + tags: unbound + - hosts: letsencrypt gather_facts: no roles: @@ -19,6 +35,7 @@ tags: email - hosts: journalwatch + # depends: email gather_facts: no roles: - journalwatch @@ -37,7 +54,10 @@ tags: etherpad - hosts: prosody + # depends: letsencrypt gather_facts: no + pre_tasks: + - setup: roles: - prosody tags: prosody