Thursday, 2021-08-05

opendevreviewMerged openstack/ansible-collections-openstack master: Only add or remove router interfaces when needed  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/77012512:37
ITD27M01Hi 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
ITD27M01So, 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 systems15:16
*** sshnaidm is now known as sshnaidm|afk16:29
dmsimardITD27M01: 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 try18:16
sshnaidm|afkITD27M01, you can use 'auth' and 'auth_type' options, not clouds.yaml18:19
sshnaidm|afkworth a try at least18: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 momentarily20:02

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!