Merge "Return PyMySQL installation for distro installs"

This commit is contained in:
Zuul 2021-04-13 15:45:44 +00:00 committed by Gerrit Code Review
commit 309ca94c2d
2 changed files with 3 additions and 2 deletions

View File

@ -51,6 +51,7 @@ utility_distro_openstack_clients_packages:
- python3-novaclient
- python3-cinderclient
- python3-openstackclient
- "{{ (ansible_os_family | lower == 'redhat') | ternary('python3-PyMySQL', 'python3-pymysql') }}"
# Python packages to be installed into the utility container
utility_pip_packages:

View File

@ -96,9 +96,9 @@
yum_repository:
name: epel-utility
baseurl: "{{ centos_epel_mirror | default('http://download.fedoraproject.org/pub/epel') ~ '/'
~ ansible_facts['distribution_major_version'] ~ '/'
~ ansible_facts['distribution_major_version'] ~ '/Everything/'
~ ansible_facts['architecture'] }}"
description: 'Extra Packages for Enterprise Linux 7 - $basearch'
description: "Extra Packages for Enterprise Linux {{ ansible_facts['ansible_distribution_major_version'] }} - $basearch"
gpgcheck: yes
enabled: yes
state: present