Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch64 #27

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ ice_zeroc_ice_ubuntu2204_sha256: >-
ice_zeroc_ice_rockylinux9_version: '20230928'
ice_zeroc_ice_rockylinux9_sha256: >-
ff1d0bb418ed4ad0b9637e15086d847b686944d874c326457f98a560ec10d7ed

ice_zeroc_ice_aarch64_version: '20230928'
ice_zeroc_ice_aarch64_sha256: >-
67672ad1ee7564b4977d3957e5c1c743c233fffab999b8c0228dda6f7b9cddc4
1 change: 1 addition & 0 deletions meta/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
- src: ome.deploy_archive
- src: ome.basedeps
- src: ome.java
- src: ome.basedeps
46 changes: 44 additions & 2 deletions tasks/pre_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
(ansible_os_family | lower == 'redhat') and
(ansible_distribution_major_version == '9')

- name: zero ice | Discplay architecture
ansible.builtin.debug:
msg: "SYstem architecture is:===>>>>>>>>>: {{ ansible_facts.get('architecture') }}"

- name: zeroc ice | Include ome.jadeploy_archiveva debian
include_role:
Expand All @@ -32,7 +35,7 @@
(ansible_distribution_major_version == '22')


- name: zeroc ice | Include ome.jadeploy_archiveva redhat
- name: zeroc ice | Include ome.jadeploy_archiveva x86_64 redhat
include_role:
name: ome.deploy_archive
vars:
Expand All @@ -46,4 +49,43 @@ download/{{ ice_zeroc_ice_rockylinux9_version }}/Ice-3.6.5-rhel9-x86_64.tar.gz"
Ice-3.6.5
when: >-
(ansible_os_family | lower == 'redhat') and
(ansible_distribution_major_version == '9')
(ansible_distribution_major_version == '9') and
(ansible_facts.get('architecture') == 'x86_64')


- name: zeroc ice | Include ome.jadeploy_archiveva aarch64 redhat
include_role:
name: ome.deploy_archive
vars:
deploy_archive_dest_dir: /opt
deploy_archive_src_url: "https://github.com/\
khaledk2/ice-archh-64/releases/download/new_tag/ice-3.6.5.tar.gz"
deploy_archive_sha256: "{{ ice_zeroc_ice_aarch64_sha256 }}"
deploy_archive_symlink: /opt/ice
deploy_archive_internal_root: >-
ice-3.6.5
when: >-
(ansible_os_family | lower == 'redhat') and
(ansible_distribution_major_version == '9') and
(ansible_facts.get('architecture') == 'aarch64')

- name: zero ice | install bzip2
become: true
ansible.builtin.dnf:
update_cache: true
name: https://dl.rockylinux.org/pub/rocky/9/BaseOS/aarch64/os/Packages/b/bzip2-libs-1.0.8-8.el9.aarch64.rpm
state: present
when: >-
(ansible_os_family | lower == 'redhat') and
(ansible_distribution_major_version == '9') and
(ansible_facts.get('architecture') == 'aarch64')

- name: zeroc ice | Create symbolic link
file:
src: /usr/lib64/libbz2.so.1.0.8
dest: /usr/lib64/libbz2.so.1.0
state: link
when: >-
(ansible_os_family | lower == 'redhat') and
(ansible_distribution_major_version == '9') and
(ansible_facts.get('architecture') == 'aarch64')