Merge "kolla-toolbox: Upgrade openvswitch collection to newer version"
This commit is contained in:
commit
ab8ee75bda
@ -80,10 +80,12 @@ ENV PATH {{ virtualenv_path }}/bin:$PATH
|
||||
'pyudev',
|
||||
] %}
|
||||
|
||||
COPY requirements.yml /var/lib/ansible/
|
||||
RUN {{ macros.install_pip(kolla_toolbox_pip_packages | customizable("pip_packages")) }} \
|
||||
&& mkdir -p /etc/ansible /usr/share/ansible \
|
||||
&& echo 'localhost ansible_connection=local ansible_python_interpreter={{ virtualenv_path }}/bin/python' > /etc/ansible/hosts \
|
||||
&& sed -i 's| "identity_api_version": "2.0",| "identity_api_version": "3",|' {{ os_client_config }}
|
||||
&& sed -i 's| "identity_api_version": "2.0",| "identity_api_version": "3",|' {{ os_client_config }} \
|
||||
&& ansible-galaxy collection install -p /usr/share/ansible/collections -r /var/lib/ansible/requirements.yml
|
||||
|
||||
ENV ANSIBLE_LIBRARY /usr/share/ansible:$ANSIBLE_LIBRARY
|
||||
|
||||
|
4
docker/kolla-toolbox/requirements.yml
Normal file
4
docker/kolla-toolbox/requirements.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
collections:
|
||||
- name: openvswitch.openvswitch
|
||||
version: 2.0.0
|
Loading…
Reference in New Issue
Block a user