Skip to content

Commit bcc70d5

Browse files
authored
Adding missing tasks and updating to fix bug with ARM64 (#133)
* Fixing arm64 support * requested changes
1 parent 92777b9 commit bcc70d5

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

File renamed without changes.

roles/installmq/tasks/Linux_installmq.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,23 @@
6161

6262
- name: Create a list of paths to the packages from found files
6363
ansible.builtin.set_fact:
64-
package_list: "{{ package_files.results | map(attribute='files.0.path') | list }}"
64+
package_list: "{{ package_list | default([]) + [item.files.0.path | string] }}"
65+
loop:
66+
"{{ package_files.results }}"
67+
when:
68+
- item.files is defined
69+
- item.files | length > 0
70+
- item.files.0.path is defined
71+
- ansible_architecture == 'aarch64'
72+
73+
74+
- name: Create a list of paths to the packages from found files
75+
ansible.builtin.set_fact:
76+
package_list: "{{ package_files.results.0 | map(attribute='files.0.path') | list }}"
6577
when:
6678
- "'MQSeriesRuntime' not in ansible_facts.packages"
6779
- "'ibmmq-runtime' not in ansible_facts.packages"
80+
- ansible_architecture != 'aarch64'
6881

6982
- name: Rpm Installation
7083
ansible.builtin.dnf:

0 commit comments

Comments
 (0)