From dfcd9c5403ee9d86590ae36dbec961637960bd51 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 17 Aug 2018 13:04:01 -0500 Subject: [PATCH] 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 --- playbooks/update-system-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/update-system-config.yaml b/playbooks/update-system-config.yaml index 004c7702c8..65d12aea40 100644 --- a/playbooks/update-system-config.yaml +++ b/playbooks/update-system-config.yaml @@ -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