X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/a0ef97a3169e9da8b4618116075d54c49b4292b4..7fdacc01ac7ea0c81a80951bf1d6f70d885fb63d:/site.yml diff --git a/site.yml b/site.yml index 32c2a20..1483ba9 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: @@ -6,6 +15,12 @@ - base tags: base +- hosts: unbound + gather_facts: no + roles: + - unbound + tags: unbound + - hosts: letsencrypt gather_facts: no roles: @@ -13,12 +28,14 @@ tags: letsencrypt - hosts: email + # depends: letsencrypt, unbound gather_facts: no roles: - email tags: email - hosts: journalwatch + # depends: email gather_facts: no roles: - journalwatch @@ -37,12 +54,16 @@ tags: etherpad - hosts: prosody + # depends: letsencrypt gather_facts: no + pre_tasks: + - setup: roles: - prosody tags: prosody - hosts: apache + # depends: letsencrypt gather_facts: no roles: - apache