ppc64le: fix package list gathering

The task was referencing 'ansible_architecture' as a literal string
instead of using the value of the variable as a key to the alt
arch map

Change-Id: I52cef7abd6a9af71fcd4d134e289879a736d33b6
Closes-Bug: #1815659
This commit is contained in:
Mohammed Naser 2019-02-13 09:42:04 -05:00
parent b78e58b1d7
commit 5e78067f40
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
{% set _ = packages.extend(galera_server_percona_distro_packages) %}
{% endif %}
{% if ansible_architecture == 'ppc64le' and ansible_distribution == 'Ubuntu' %}
{% for extra_package in galera_server_percona_distro_packages_alt_arch['ansible_architecture'] %}
{% for extra_package in galera_server_percona_distro_packages_alt_arch[ansible_architecture] %}
{% set _package_path = galera_server_extra_package_path ~ '/' ~ ansible_architecture %}
{% set _ = packages.append(_package_path ~ '/' ~ extra_package['url'] | basename) %}
{% endfor %}