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
|
# file: bootstrap_puppet_infra_nodes.yml
|
||||||
- hosts: infra:!meta-infra_type_puppetmaster
|
- hosts: infra:!meta-infra_type_puppetmaster
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: bootstrap_puppetmaster.yml
|
# file: bootstrap_puppetmaster.yml
|
||||||
- hosts: meta-infra_type_puppetmaster
|
- hosts: meta-infra_type_puppetmaster
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: common.yml
|
# file: common.yml
|
||||||
- hosts: infra
|
- hosts: infra
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: deploy_hiera.yml
|
# file: deploy_hiera.yml
|
||||||
- hosts: meta-infra_type_puppetmaster
|
- hosts: meta-infra_type_puppetmaster
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: deploy_system_config.yml
|
# file: deploy_system_config.yml
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
|
gather_facts: no
|
||||||
connection: local
|
connection: local
|
||||||
roles:
|
roles:
|
||||||
- { role: deploy_system_config }
|
- { role: deploy_system_config }
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: post_puppet_gerrit.yml
|
# file: post_puppet_gerrit.yml
|
||||||
- hosts: meta-infra_type_gerrit
|
- hosts: meta-infra_type_gerrit
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: post_puppet_jenkins.yml
|
# file: post_puppet_jenkins.yml
|
||||||
- hosts: meta-infra_type_jenkins
|
- hosts: meta-infra_type_jenkins
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: pre_puppet_gerrit.yml
|
# file: pre_puppet_gerrit.yml
|
||||||
- hosts: meta-infra_type_gerrit
|
- hosts: meta-infra_type_gerrit
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: run_puppet_infra_nodes
|
# file: run_puppet_infra_nodes
|
||||||
- hosts: infra:!meta-infra_type_puppetmaster
|
- hosts: infra:!meta-infra_type_puppetmaster
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: set_hostnames.yml
|
# file: set_hostnames.yml
|
||||||
- hosts: infra
|
- hosts: infra
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# file: sign_infra_nodes_certs
|
# file: sign_infra_nodes_certs
|
||||||
- hosts: meta-infra_type_puppetmaster
|
- hosts: meta-infra_type_puppetmaster
|
||||||
|
gather_facts: no
|
||||||
user: ubuntu
|
user: ubuntu
|
||||||
sudo: true
|
sudo: true
|
||||||
roles:
|
roles:
|
||||||
|
Loading…
Reference in New Issue
Block a user