Disable facts gathering on top-level playbooks
In the playbooks logic, the facts are not used and they are a quite expensive operation, this speeds up execution.
This commit is contained in:
parent
01359b53c8
commit
11c6c4cc1e
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: bootstrap_puppet_infra_nodes.yml
|
||||
- hosts: infra:!meta-infra_type_puppetmaster
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: bootstrap_puppetmaster.yml
|
||||
- hosts: meta-infra_type_puppetmaster
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: common.yml
|
||||
- hosts: infra
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: deploy_hiera.yml
|
||||
- hosts: meta-infra_type_puppetmaster
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: deploy_system_config.yml
|
||||
- hosts: localhost
|
||||
gather_facts: no
|
||||
connection: local
|
||||
roles:
|
||||
- { role: deploy_system_config }
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: post_puppet_gerrit.yml
|
||||
- hosts: meta-infra_type_gerrit
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: post_puppet_jenkins.yml
|
||||
- hosts: meta-infra_type_jenkins
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: pre_puppet_gerrit.yml
|
||||
- hosts: meta-infra_type_gerrit
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: run_puppet_infra_nodes
|
||||
- hosts: infra:!meta-infra_type_puppetmaster
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: set_hostnames.yml
|
||||
- hosts: infra
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
# file: sign_infra_nodes_certs
|
||||
- hosts: meta-infra_type_puppetmaster
|
||||
gather_facts: no
|
||||
user: ubuntu
|
||||
sudo: true
|
||||
roles:
|
||||
|
Loading…
Reference in New Issue
Block a user