galaxy import job put roles in ~user/.ansible/roles while UI Import expects roles to be in /etc/ansible/roles
For import to work the roles gotta be in /etc/ansible/roles
Ansible Galaxy import job put them under ~user/.ansible/roles
(regression since this was already working)
Updated by Lukas Pramuk over 5 years ago
tfm-rubygem-foreman_ansible-2.0.4-1.fm1_18.el7.noarch > updated to foreman_ansible (2.1.0)
Updated by Ondřej Pražák about 5 years ago
You are right, the default import path for ansible-galaxy install command has changed. The initial driver for change was that regular users do not have write access to /etc/ansible/roles, so the command is broken for them by default. There are 2 ways users can deal with the default path change:
1) users can do 'ansible-galaxy install owner.role -p /etc/ansible/roles'
2) users can add ~/.ansible/roles into roles_path in ansible.cfg
Is there any specific change you would like to see to resolve this issue?
Updated by Ondřej Ezr almost 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_ansible|2ac1511b02ac7ce56c7ae8c1cb2be0f791e05443.