Browse Source

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
Mohammed Naser 2 months ago
parent
commit
5e78067f40
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tasks/galera_install.yml

+ 1
- 1
tasks/galera_install.yml View File

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

Loading…
Cancel
Save