bifrost: bump Ansible version to 8 (rpm) and 9 (deb)
This is used by bifrost in setup script [1].
[1]: 1c95336154/scripts/env-setup.sh (L9)
Change-Id: Ia2721dd7459a11324726910c99ea4c357047631e
This commit is contained in:
@@ -37,13 +37,13 @@ ENV ANSIBLE_GATHER_TIMEOUT=30
|
|||||||
{% block bifrost_ansible_install %}
|
{% block bifrost_ansible_install %}
|
||||||
{%- if base_package_type == 'deb' %}
|
{%- if base_package_type == 'deb' %}
|
||||||
RUN apt-get --error-on=any update && \
|
RUN apt-get --error-on=any update && \
|
||||||
|
bash -c '$VENV/bin/pip install "ansible>=9,<10" && \
|
||||||
{%- else %}
|
{%- else %}
|
||||||
RUN echo " " && \
|
RUN echo " " && \
|
||||||
|
bash -c '$VENV/bin/pip install "ansible>=8,<9" && \
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
bash -c 'export VENV=/var/lib/kolla/venv && \
|
|
||||||
$VENV/bin/pip install "ansible>=6,<7" && \
|
|
||||||
$VENV/bin/ansible-galaxy collection install -r /bifrost/ansible-collections-requirements.yml && \
|
$VENV/bin/ansible-galaxy collection install -r /bifrost/ansible-collections-requirements.yml && \
|
||||||
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target \
|
$VENV/bin/ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target \
|
||||||
/bifrost/playbooks/install.yaml \
|
/bifrost/playbooks/install.yaml \
|
||||||
-e git_branch={{ openstack_branch_slashed }} \
|
-e git_branch={{ openstack_branch_slashed }} \
|
||||||
-e ipa_upstream_release={{ openstack_branch }} \
|
-e ipa_upstream_release={{ openstack_branch }} \
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
Ansible versions in ``bifrost-deploy`` container image have been updated
|
||||||
|
to ``8`` for rpm distros and ``9`` for deb.
|
||||||
Reference in New Issue
Block a user