Remove provision_infra_servers and add pre/post playbooks
Running provision AND configuration on same run causes race-conditions from dynamic inventory, like meta groups not being available later in the play. Better run provision_infra_servers on its own and have site.yml just for the configuration play.
This commit is contained in:
parent
e0b2920d7e
commit
abc67376b7
4
site.yml
4
site.yml
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
# file: site.yml
|
# file: site.yml
|
||||||
- include: provision_infra_servers.yml
|
|
||||||
- include: common.yml
|
- include: common.yml
|
||||||
- include: set_hostnames.yml
|
- include: set_hostnames.yml
|
||||||
- include: deploy_site_pp.yml
|
- include: deploy_site_pp.yml
|
||||||
@ -8,4 +7,7 @@
|
|||||||
- include: bootstrap_puppetmaster.yml
|
- include: bootstrap_puppetmaster.yml
|
||||||
- include: bootstrap_puppet_infra_nodes.yml
|
- include: bootstrap_puppet_infra_nodes.yml
|
||||||
- include: sign_infra_nodes_certs.yml
|
- include: sign_infra_nodes_certs.yml
|
||||||
|
- include: pre_puppet_gerrit.yml
|
||||||
- include: run_puppet_infra_nodes.yml
|
- include: run_puppet_infra_nodes.yml
|
||||||
|
- include: post_puppet_gerrit.yml
|
||||||
|
- include: post_puppet_jenkins.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user