opendevreview | Merged openstack/ansible-collections-openstack master: Only add or remove router interfaces when needed https://review.opendev.org/c/openstack/ansible-collections-openstack/+/770125 | 12:37 |
---|---|---|
ITD27M01 | Hi Guys. Ansible 2.11 has beauty feature to deliver playbooks in collections. I can create the <playbook> and place it inside collection <namespace>.<collection> and user can use it as "- import_playbook: <namespace>.<collection>.<playbook>". The problem is that in such way I cannot use "project level" clouds.yaml, the tasks from this playbooks are running in PWD of imported playbook - ansible_collections/namespace/collection/playbooks. | 15:16 |
ITD27M01 | So, Is there any way to specify clouds.yaml location for the tasks? Current workaround is to use ~/.config/openstack/clouds.yaml, but it can be a problem for CI systems | 15:16 |
*** sshnaidm is now known as sshnaidm|afk | 16:29 | |
dmsimard | ITD27M01: I think you can use the OS_CLIENT_CONFIG_FILE environment variable for openstackclient/sdk but I'm not sure if it would work with ansible modules, worth a try | 18:16 |
sshnaidm|afk | ITD27M01, you can use 'auth' and 'auth_type' options, not clouds.yaml | 18:19 |
sshnaidm|afk | worth a try at least | 18:19 |
-opendevstatus- NOTICE: The Gerrit service on review.opendev.org is going down for a quick restart to adjust its database connection configuration, and should return to service momentarily | 20:02 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!