Skip to content

Commit 8adf063

Browse files
committed
Rocky 8: Install a compatible version of ansible in the kolla venv
This improves support out of the box. You still need to make sure that you install a compatible version of ansible in the kayobe virtualenv: ``` git clone https://github.com/stackhpc/stackhpc-kayobe-config -b stackhpc/wallaby cd stackhpc-kayobe-config pip install -U ansible-base@git+https://github.com/stackhpc/ansible@stackhpc/2.10/rocky -e . ``` The above example installs a fork of ansible with support for Rocky 8.
1 parent d2504ed commit 8adf063

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

etc/kayobe/kolla.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ kolla_ansible_source_version: "{{ stackhpc_kolla_ansible_source_version }}"
4848
#kolla_ansible_venv:
4949

5050
# Extra requirements to install inside the kolla-ansible virtualenv.
51-
#kolla_ansible_venv_extra_requirements:
51+
kolla_ansible_venv_extra_requirements: "{{ lookup('vars', 'kolla_ansible_venv_extra_requirements_' ~ os_distribution, default=[]) }}"
52+
53+
# Rocky specific requirements in the kolla-ansible virtualenv
54+
kolla_ansible_venv_extra_requirements_rocky:
55+
# NOTE(wszumski): This is wallaby specific as we can use ansiblec-core 2.11 in Xena.
56+
- 'ansible-base@git+https://github.com/stackhpc/ansible@stackhpc/2.10/rocky'
5257

5358
# Pip requirement specifier for the ansible package. NOTE: This limits the
5459
# version of ansible used by kolla-ansible to avoid new releases from breaking

0 commit comments

Comments
 (0)