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:
parent
03f52d0bc8
commit
dfcd9c5403
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user