Merge "Return PyMySQL installation for distro installs"
This commit is contained in:
commit
309ca94c2d
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user