豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 637da10

Browse files
authored
aix: install rust (#4273)
Refs: #4245
1 parent 601c84b commit 637da10

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#
2+
# AIX post-installation tasks
3+
#
4+
5+
- name: "rust : create symlinks for Rust binaries"
6+
file:
7+
src: /opt/freeware/lib/RustSDK/1.88/bin/{{ item }}
8+
dest: /opt/freeware/bin/{{ item }}
9+
owner: root
10+
group: system
11+
state: link
12+
loop:
13+
- rustc
14+
- rustfmt
15+
- cargo

ansible/roles/baselayout/vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ common_packages: [
3737
# % ansible -m debug -a "var=os" HOST
3838
packages: {
3939
aix: [
40-
'bash,cmake,coreutils,curl,gcc-c++,tar,unzip,git,make,sudo,python3-setuptools,python3,xz',
40+
'bash,cmake,coreutils,curl,gcc-c++,tar,unzip,git,make,sudo,python3-setuptools,python3,xz,rust1.88,cargo1.88,rustfmt1.88',
4141
],
4242

4343
# Appears to be some issue with the Ansible dnf task on AIX and gcc10-c++, so handle separately.

0 commit comments

Comments
 (0)