diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2024-06-11 11:53:17 +0200 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2024-08-16 18:52:07 +0000 |
| commit | 1d3b4f7b2de7836d41700de272dad3e385a6ac80 (patch) | |
| tree | f7bbd1d5cb852196a7fe95d46179c0fc2042b406 /tests/run.yml | |
| parent | b9af83bb68ceb6f1ea7ebf38655a7ec23290c94f (diff) | |
| download | kolla-ansible-1d3b4f7b2de7836d41700de272dad3e385a6ac80.tar.gz kolla-ansible-1d3b4f7b2de7836d41700de272dad3e385a6ac80.zip | |
Bump Ansible versions to 2.16 and 2.17
Change-Id: Ic87fb3e4c014d3090869d5631e02982829df6312
Diffstat (limited to 'tests/run.yml')
| -rw-r--r-- | tests/run.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/run.yml b/tests/run.yml index 275907e14..a32cec0c4 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -243,9 +243,18 @@ state: directory become: true + - name: Install Python3.12 on RHEL derivatives + dnf: + name: + - python3.12 + - python3.12-devel + state: latest + when: ansible_facts.os_family == 'RedHat' + become: true + - name: Create Kolla Ansible venv command: - cmd: "python3 -m venv {{ kolla_ansible_venv_path }}" + cmd: "{{ 'python3.12' if ansible_facts.os_family == 'RedHat' else 'python3' }} -m venv {{ kolla_ansible_venv_path }}" creates: "{{ kolla_ansible_venv_path }}" - name: Ensure the latest tested pip |
