2018-08-02 16:10:47 -05:00
|
|
|
- hosts: "localhost:!disabled"
|
2018-09-07 10:51:56 -07:00
|
|
|
name: "System-config: Update the system-config repo on bridge"
|
2018-08-02 16:10:47 -05:00
|
|
|
connection: local
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- name: Make sure system-config repo is up to date
|
|
|
|
git:
|
|
|
|
repo: https://git.openstack.org/openstack-infra/system-config
|
2018-08-16 18:56:30 -05:00
|
|
|
dest: /opt/system-config
|
2018-08-02 16:10:47 -05:00
|
|
|
force: yes
|
|
|
|
|
|
|
|
- name: Clone puppet modules to /etc/puppet/modules
|
|
|
|
command: ./install_modules.sh
|
|
|
|
args:
|
2018-08-16 18:56:30 -05:00
|
|
|
chdir: /opt/system-config
|
2018-08-02 16:10:47 -05:00
|
|
|
|
|
|
|
- name: Install ansible roles to /etc/ansible/roles
|
2018-08-17 13:04:01 -05:00
|
|
|
command: ansible-galaxy install --roles-path /etc/ansible/roles --force -r roles.yaml
|
2018-08-02 16:10:47 -05:00
|
|
|
args:
|
2018-08-16 18:56:30 -05:00
|
|
|
chdir: /opt/system-config
|