2f9b98b3cd
When we do it as a second playbook, the failure to copy updated code cannot prevent puppet from running. Change-Id: I94b06988a20da4c0c2cf492485997ec49c3dca13 Depends-On: I22b7a21778d514a0a1ab04a76f03fdc9c58a05b3
16 lines
416 B
YAML
16 lines
416 B
YAML
---
|
|
- hosts: "localhost:!disabled"
|
|
connection: local
|
|
gather_facts: false
|
|
tasks:
|
|
- git:
|
|
repo: https://git.openstack.org/openstack-infra/system-config
|
|
dest: /opt/system-config/production
|
|
force: yes
|
|
- shell: ./install_modules.sh
|
|
args:
|
|
chdir: /opt/system-config/production
|
|
- shell: ansible-galaxy install --force -r roles.yaml
|
|
args:
|
|
chdir: /opt/system-config/production
|