Skip to content

Commit 65b0bc3

Browse files
authored
ARM64 download role (#127)
* Adding raspberry pi arm64 download roles * adding install role * Optomising * Removing redundent install * Fixing link
1 parent 2e24220 commit 65b0bc3

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
dest: /var/mq.tar.gz
22+
tags: download
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+
tags: download

0 commit comments

Comments
 (0)