)]}'
{"docker/kolla-toolbox/Dockerfile.j2":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"bc20757f22fa59c7239aa74339d62d7b24cab7a0","unresolved":true,"context_lines":[{"line_number":85,"context_line":"    \u0026\u0026 mkdir -p /etc/ansible /usr/share/ansible \\"},{"line_number":86,"context_line":"    \u0026\u0026 echo \u0027localhost ansible_connection\u003dlocal ansible_python_interpreter\u003d{{ virtualenv_path }}/bin/python\u0027 \u003e /etc/ansible/hosts \\"},{"line_number":87,"context_line":"    \u0026\u0026 sed -i \u0027s|  \"identity_api_version\": \"2.0\",|  \"identity_api_version\": \"3\",|\u0027 {{ os_client_config }} \\"},{"line_number":88,"context_line":"    \u0026\u0026 ansible-galaxy collection install -p /opt/ansible/lib/python3.6/site-packages/ansible_collections -f -r /var/lib/ansible/requirements.yml"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"ENV ANSIBLE_LIBRARY /usr/share/ansible:$ANSIBLE_LIBRARY"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"584d9f0e_d2f0c039","line":88,"range":{"start_line":88,"start_character":44,"end_line":88,"end_character":104},"updated":"2021-03-25 09:16:38.000000000","message":"Is this the canonical location for collections?","commit_id":"30f29cecef0a6cad07fcdf9cf37b4a9733cea3be"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"0dddc357cef7fcdf8df30ff62c4c69d2260dfa9c","unresolved":true,"context_lines":[{"line_number":85,"context_line":"    \u0026\u0026 mkdir -p /etc/ansible /usr/share/ansible \\"},{"line_number":86,"context_line":"    \u0026\u0026 echo \u0027localhost ansible_connection\u003dlocal ansible_python_interpreter\u003d{{ virtualenv_path }}/bin/python\u0027 \u003e /etc/ansible/hosts \\"},{"line_number":87,"context_line":"    \u0026\u0026 sed -i \u0027s|  \"identity_api_version\": \"2.0\",|  \"identity_api_version\": \"3\",|\u0027 {{ os_client_config }} \\"},{"line_number":88,"context_line":"    \u0026\u0026 ansible-galaxy collection install -p /opt/ansible/lib/python3.6/site-packages/ansible_collections -f -r /var/lib/ansible/requirements.yml"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"ENV ANSIBLE_LIBRARY /usr/share/ansible:$ANSIBLE_LIBRARY"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"e0168617_bbf15e99","line":88,"range":{"start_line":88,"start_character":44,"end_line":88,"end_character":104},"in_reply_to":"584d9f0e_d2f0c039","updated":"2021-03-25 09:21:41.000000000","message":"No, it\u0027s an ugly hack - because if we install collections in /var/lib/ansible/.ansible this one is not picked up (at least based on my quick tests), because it exists in /opt/ansible/lib/python3.6/site-packages/ansible_collections (this is the path where ansible package installs it\u0027s distribution of collections based on https://github.com/ansible-community/ansible-build-data)\n\nIn Xena I assume we would like to move to installing ansible-core only and required collections and move to FQCN\u0027s in playbooks.","commit_id":"30f29cecef0a6cad07fcdf9cf37b4a9733cea3be"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"03f7547230714f152f01898ea40af1a832780020","unresolved":true,"context_lines":[{"line_number":85,"context_line":"    \u0026\u0026 mkdir -p /etc/ansible /usr/share/ansible \\"},{"line_number":86,"context_line":"    \u0026\u0026 echo \u0027localhost ansible_connection\u003dlocal ansible_python_interpreter\u003d{{ virtualenv_path }}/bin/python\u0027 \u003e /etc/ansible/hosts \\"},{"line_number":87,"context_line":"    \u0026\u0026 sed -i \u0027s|  \"identity_api_version\": \"2.0\",|  \"identity_api_version\": \"3\",|\u0027 {{ os_client_config }} \\"},{"line_number":88,"context_line":"    \u0026\u0026 ansible-galaxy collection install -p /opt/ansible/lib/python3.6/site-packages/ansible_collections -f -r /var/lib/ansible/requirements.yml"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"ENV ANSIBLE_LIBRARY /usr/share/ansible:$ANSIBLE_LIBRARY"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"b05f5842_8a4681a6","line":88,"range":{"start_line":88,"start_character":44,"end_line":88,"end_character":104},"in_reply_to":"bbdab68e_90adaadc","updated":"2021-03-25 12:27:12.000000000","message":"Seems that actually works - thanks, let me update the change.","commit_id":"30f29cecef0a6cad07fcdf9cf37b4a9733cea3be"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"8c8c3f7492bc6ba0b23d092107e6a1cc3864f10e","unresolved":true,"context_lines":[{"line_number":85,"context_line":"    \u0026\u0026 mkdir -p /etc/ansible /usr/share/ansible \\"},{"line_number":86,"context_line":"    \u0026\u0026 echo \u0027localhost ansible_connection\u003dlocal ansible_python_interpreter\u003d{{ virtualenv_path }}/bin/python\u0027 \u003e /etc/ansible/hosts \\"},{"line_number":87,"context_line":"    \u0026\u0026 sed -i \u0027s|  \"identity_api_version\": \"2.0\",|  \"identity_api_version\": \"3\",|\u0027 {{ os_client_config }} \\"},{"line_number":88,"context_line":"    \u0026\u0026 ansible-galaxy collection install -p /opt/ansible/lib/python3.6/site-packages/ansible_collections -f -r /var/lib/ansible/requirements.yml"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"ENV ANSIBLE_LIBRARY /usr/share/ansible:$ANSIBLE_LIBRARY"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"bbdab68e_90adaadc","line":88,"range":{"start_line":88,"start_character":44,"end_line":88,"end_character":104},"in_reply_to":"e0168617_bbf15e99","updated":"2021-03-25 09:29:59.000000000","message":"Is that because you\u0027re using the openvswitch user rather than ansible?\n\nThe default search path for collections is ~/.ansible/collections:/usr/share/ansible/collections. So if you want them to be globally accessible you could install them to /usr/share/ansible/collections\n\nhttps://docs.ansible.com/ansible/latest/reference_appendices/config.html#collections-paths","commit_id":"30f29cecef0a6cad07fcdf9cf37b4a9733cea3be"}]}
