Copy system-config and puppet modules everywhere
If we're going to run puppet apply on all of our nodes, they need the puppet modules installed on them first. Change-Id: I84b80818fa54d1ddc4d46fead663ed4212bb6ff3
This commit is contained in:
parent
00a0d57847
commit
8ff794f599
10
playbooks/update_puppet.yaml
Normal file
10
playbooks/update_puppet.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
- hosts: '!puppetmaster.openstack.org'
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- synchronize:
|
||||||
|
src: /opt/system-config/production
|
||||||
|
dest: /opt/system-config
|
||||||
|
- synchronize:
|
||||||
|
src: /etc/puppet/modules
|
||||||
|
dest: /etc/puppet
|
@ -36,8 +36,9 @@ touch manifests/site.pp
|
|||||||
# errexit
|
# errexit
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
# First run the git/gerrit sequence, since it's important that they all work
|
# First, sync the puppet repos with all the machines
|
||||||
# together
|
ansible-playbook -f 20 ${ANSIBLE_PLAYBOOKS}/update_puppet.yaml
|
||||||
|
# Run the git/gerrit sequence, since it's important that they all work together
|
||||||
ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_git.yaml
|
ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_git.yaml
|
||||||
# Run AFS changes separately so we can make sure to only do one at a time
|
# Run AFS changes separately so we can make sure to only do one at a time
|
||||||
# (turns out quorum is nice to have)
|
# (turns out quorum is nice to have)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user