We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e24220 commit 65b0bc3Copy full SHA for 65b0bc3
1 file changed
roles/downloadmq/tasks/Linux_arm64_downloadmq.yml
@@ -0,0 +1,30 @@
1
+---
2
+- name: Set filename of zip for arm64
3
+ ansible.builtin.set_fact:
4
+ zip_file: '{{ vrmf }}-IBM-MQ-Advanced-for-Developers-UbuntuLinuxARM64.tar.gz'
5
+
6
7
+# Get the file if local source is false
8
+- name: Download MQ Advanced for Developers
9
+ ansible.builtin.get_url:
10
+ url: "{{ downloadURL }}{{ zip_file }}"
11
+ dest: /var/mq.tar.gz
12
+ force: false
13
+ mode: "0644"
14
+ tags: download
15
+ when: not local_source
16
17
+# Copy source to target if local source is true
18
+- name: Copy local MQ source to target
19
+ ansible.builtin.copy:
20
+ src: "{{ mq_local_path }}"
21
22
23
+ when: local_source
24
25
+- name: Extract MQ fom TAR
26
+ ansible.builtin.unarchive:
27
+ src: /var/mq.tar.gz
28
+ remote_src: true
29
+ dest: /var
30
0 commit comments