allow specifying location of roles to override /etc/ansible/roles
|Assigned To:||Daniel Lobato Garcia|
|Target version:||Foreman - Team Daniel - Iteration 9|
Having all roles in /etc/ansible/roles for all orgs/locs is limiting. While there are a lot of different ways to solve this, being able to change it in the settings would be a minimum. Having it per org also beneficial. Having the source of roles integrated into either katello repos (file type?) or with ansible tower would be interesting.
Fixes #18311 - Read /etc/ansible/ansible.cfg roles_path
Currently it's reading the hardcoded /etc/ansible/roles directory
instead of the /etc/ansible/ansible.cfg roles_path, which makes it
confusing for users who have custom roles_paths.
The implementation for reading roles_path should go in
ForemanAnsibleCore so that the proxy and Foreman can reuse the same
gem for reading roles.
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_ansible|5e5d903357e4b990089e4a24b7174929bbded206.