Be explicit about where to install roles

The first entry is where ansible galaxy will install roles. We want that
to be /etc/ansible/roles, not overlaid on the system-config repo.

Pass --roles-path to ansible-galaxy to make sure they go to the right
place.

Change-Id: I109dc004acad32a515c6a1caca50ab38edc62aed
This commit is contained in:
Monty Taylor 2018-08-17 13:04:01 -05:00
parent 03f52d0bc8
commit dfcd9c5403
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -16,6 +16,6 @@
chdir: /opt/system-config
- name: Install ansible roles to /etc/ansible/roles
command: ansible-galaxy install --force -r roles.yaml
command: ansible-galaxy install --roles-path /etc/ansible/roles --force -r roles.yaml
args:
chdir: /opt/system-config