Ensure codename is lowercased for cloudsig install

With [1] option to install cloudsig repo from package was added, though
release codename was not lowered, which results in a failure when
attempting to use cloudsig instead of trunk.

[1] https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/880473

Change-Id: I28311bb6f5fb43a007f58bb97683c1ab04cc786e
This commit is contained in:
Dmitriy Rabotyagov 2024-04-26 18:04:32 +02:00
parent f5b386f3d4
commit c67f572857
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@
- name: Install centos-release-openstack package for cloudsig based installation
package:
name:
- centos-release-openstack-{{ openstack_distrib_code_name }}
- centos-release-openstack-{{ openstack_distrib_code_name | lower }}
when:
- (install_method | default('source')) == 'distro'
- openstack_hosts_rdo_repo_type == 'cloudsig'