From cfa65f0c5aadec437e849bf93079fa128223cbf2 Mon Sep 17 00:00:00 2001 From: Abdirahim Musse <33973272+abmusse@users.noreply.github.com> Date: Fri, 13 Mar 2026 16:46:52 -0500 Subject: [PATCH 1/4] aix: install rust --- ansible/roles/baselayout/vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/baselayout/vars/main.yml b/ansible/roles/baselayout/vars/main.yml index dda227835..35de6fac2 100644 --- a/ansible/roles/baselayout/vars/main.yml +++ b/ansible/roles/baselayout/vars/main.yml @@ -37,7 +37,7 @@ common_packages: [ # % ansible -m debug -a "var=os" HOST packages: { aix: [ - 'bash,cmake,coreutils,curl,gcc-c++,tar,unzip,git,make,sudo,python3-setuptools,python3', + 'bash,cmake,coreutils,curl,gcc-c++,tar,unzip,git,make,sudo,python3-setuptools,python3,rust-1.86.0,cargo-1.86.0,rustfmt-1.86.0', ], # Appears to be some issue with the Ansible dnf task on AIX and gcc10-c++, so handle separately. From 55f9139e36a0d09506f51970b5f5df1eef2c5c4c Mon Sep 17 00:00:00 2001 From: Abdirahim Musse <33973272+abmusse@users.noreply.github.com> Date: Tue, 17 Mar 2026 22:40:19 -0500 Subject: [PATCH 2/4] Update to rust 1.88 --- ansible/roles/baselayout/vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/baselayout/vars/main.yml b/ansible/roles/baselayout/vars/main.yml index 35de6fac2..49743c330 100644 --- a/ansible/roles/baselayout/vars/main.yml +++ b/ansible/roles/baselayout/vars/main.yml @@ -37,7 +37,7 @@ common_packages: [ # % ansible -m debug -a "var=os" HOST packages: { aix: [ - 'bash,cmake,coreutils,curl,gcc-c++,tar,unzip,git,make,sudo,python3-setuptools,python3,rust-1.86.0,cargo-1.86.0,rustfmt-1.86.0', + 'bash,cmake,coreutils,curl,gcc-c++,tar,unzip,git,make,sudo,python3-setuptools,python3,rust-1.88.0,cargo-1.88.0,rustfmt-1.88.0', ], # Appears to be some issue with the Ansible dnf task on AIX and gcc10-c++, so handle separately. From 098f342d2394f69f5ad4396026aecc50cd3fc6e2 Mon Sep 17 00:00:00 2001 From: Abdirahim Musse <33973272+abmusse@users.noreply.github.com> Date: Thu, 26 Mar 2026 13:16:21 -0500 Subject: [PATCH 3/4] fix rust version in install --- ansible/roles/baselayout/vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/baselayout/vars/main.yml b/ansible/roles/baselayout/vars/main.yml index 49743c330..9bedfbc43 100644 --- a/ansible/roles/baselayout/vars/main.yml +++ b/ansible/roles/baselayout/vars/main.yml @@ -37,7 +37,7 @@ common_packages: [ # % ansible -m debug -a "var=os" HOST packages: { aix: [ - 'bash,cmake,coreutils,curl,gcc-c++,tar,unzip,git,make,sudo,python3-setuptools,python3,rust-1.88.0,cargo-1.88.0,rustfmt-1.88.0', + 'bash,cmake,coreutils,curl,gcc-c++,tar,unzip,git,make,sudo,python3-setuptools,python3,rust1.88,cargo1.88,rustfmt1.88', ], # Appears to be some issue with the Ansible dnf task on AIX and gcc10-c++, so handle separately. From bcd02dab0830a2e581d17290318c674876aeb96b Mon Sep 17 00:00:00 2001 From: Abdirahim Musse <33973272+abmusse@users.noreply.github.com> Date: Tue, 14 Apr 2026 18:32:41 -0500 Subject: [PATCH 4/4] aix: postinstall add rust links --- .../baselayout/tasks/partials/postinstall/aix.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ansible/roles/baselayout/tasks/partials/postinstall/aix.yml diff --git a/ansible/roles/baselayout/tasks/partials/postinstall/aix.yml b/ansible/roles/baselayout/tasks/partials/postinstall/aix.yml new file mode 100644 index 000000000..e69682688 --- /dev/null +++ b/ansible/roles/baselayout/tasks/partials/postinstall/aix.yml @@ -0,0 +1,15 @@ +# +# AIX post-installation tasks +# + +- name: "rust : create symlinks for Rust binaries" + file: + src: /opt/freeware/lib/RustSDK/1.88/bin/{{ item }} + dest: /opt/freeware/bin/{{ item }} + owner: root + group: system + state: link + loop: + - rustc + - rustfmt + - cargo