avoid gathering facts when we do not need to
authorRalf Jung <post@ralfj.de>
Sat, 19 May 2018 09:48:11 +0000 (11:48 +0200)
committerRalf Jung <post@ralfj.de>
Sat, 19 May 2018 09:48:11 +0000 (11:48 +0200)
site.yml

index bc19efe..0d82190 100644 (file)
--- 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