Fix update_puppet_version playbook

Updating the system-config git checkout was not working correctly. Since
we don't need the whole repo anyway, just retrieve the install_puppet.sh
script.

Change-Id: If83482eacdb303ea4fc3fe453818ea435ed062dc
This commit is contained in:
Colleen Murphy 2019-02-03 12:25:04 +01:00
parent b9fe525914
commit 0727a5b3a6

View File

@ -2,12 +2,11 @@
name: "Puppet-version: install puppet-4 on puppet-4 hosts" name: "Puppet-version: install puppet-4 on puppet-4 hosts"
gather_facts: false gather_facts: false
tasks: tasks:
- git: - get_url:
repo: https://git.openstack.org/openstack-infra/system-config url: http://git.openstack.org/cgit/openstack-infra/system-config/plain/install_puppet.sh
dest: /opt/system-config dest: /tmp/install_puppet.sh
force: yes mode: 0755
- shell: ./install_puppet.sh checksum: sha256:741b8cfdc039e817bd598511dd7203da16701f213775e639994e8bb278a68239
args: - shell: /tmp/install_puppet.sh
chdir: /opt/system-config
environment: environment:
PUPPET_VERSION: 4 PUPPET_VERSION: 4