From: Ralf Jung Date: Sat, 19 May 2018 09:48:11 +0000 (+0200) Subject: avoid gathering facts when we do not need to X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/88cc8cf7fedf35cd51c29dcadac94f288c08b22b avoid gathering facts when we do not need to --- diff --git a/site.yml b/site.yml index bc19efe..0d82190 100644 --- a/site.yml +++ b/site.yml @@ -1,28 +1,34 @@ - hosts: all + gather_facts: no + pre_tasks: + - setup: roles: - base tags: base -- import_playbook: upgrade.yml - - hosts: letsencrypt + gather_facts: no roles: - letsencrypt tags: letsencrypt +# FIXME make this a role, or several - import_playbook: email.yml - hosts: bind + gather_facts: no roles: - bind tags: bind - hosts: prosody + gather_facts: no roles: - prosody tags: prosody - hosts: apache + gather_facts: no roles: - apache tags: apache