Bump Ansible to 12 and ansible-core to 2.19

Change-Id: I37f4515587cb040296612e35d4c643f0c2bea6f6
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
This commit is contained in:
Michal Nasiadka 2025-09-09 21:08:10 +02:00
parent cde2df1beb
commit 3913b62295
3 changed files with 5 additions and 3 deletions

View file

@ -67,7 +67,7 @@ RUN apt-get --error-on=any update && \
{%- else %}
RUN echo " " && \
{%- endif %}
bash -c '$VENV/bin/pip install "ansible>=11,<12" && \
bash -c '$VENV/bin/pip install "ansible>=12,<13" && \
$VENV/bin/ansible-galaxy collection install -r /bifrost/ansible-collections-requirements.yml && \
$VENV/bin/ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target \
/bifrost/playbooks/install.yaml \

View file

@ -96,7 +96,7 @@ RUN mkdir -p /requirements \
ENV PATH {{ venv_path }}/bin:$PATH
{% set kolla_toolbox_pip_packages = [
'ansible-core==2.18.*',
'ansible-core==2.19.*',
'cmd2',
'influxdb',
'openstacksdk',

View file

@ -1,4 +1,6 @@
ansible-core>=2.17,<2.19 # GPLv3
# NOTE(mnasiadka): Keeping 2.17 to satisfy py310 job
ansible-core>=2.17; python_version < '3.11' # GPLv3
ansible-core>=2.18,<2.20; python_version >= '3.11' # GPLv3
ansible-lint<26 # MIT
bandit!=1.6.0,>=1.1.0 # Apache-2.0
bashate>=0.5.1 # Apache-2.0