Skip to content

Commit

Permalink
ppc64le: fix package list gathering
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mnaser committed Feb 13, 2019
1 parent b78e58b commit 5e78067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/galera_install.yml
Expand Up @@ -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 %}
Expand Down

0 comments on commit 5e78067

Please sign in to comment.