d4d0ae0e40
Add a playbook to rerun install_puppet.sh with PUPPET_VERSION=4. Also make the install_modules.sh script smarter about figuring out the puppet version so that the update_puppet.yaml playbook, which updates the puppet config and puppet modules but not the puppet package, does not need to be changed. When we're ready to start upgrading nodes, we'll add them to the puppet4 group in `modules/openstack_project/files/puppetmaster/groups.txt`. Change-Id: Ic41d277b2d70e7c25669e0c07e668fb9479b8abf
13 lines
311 B
YAML
13 lines
311 B
YAML
- hosts: 'puppet4'
|
|
gather_facts: false
|
|
tasks:
|
|
- git:
|
|
repo: https://git.openstack.org/openstack-infra/system-config
|
|
dest: /opt/system-config/production
|
|
force: yes
|
|
- shell: ./install_puppet.sh
|
|
args:
|
|
chdir: /opt/system-config/production
|
|
environment:
|
|
PUPPET_VERSION: 4
|