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

aixPb: Put /usr/bin in front of PATH #3716

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@
path: /etc/security/login.cfg
regexp: 'shells = '
replace: 'shells = /bin/bash,'
tags: login_shell
tags:
- login_shell
- adoptopenjdk

- name: Add bash to available login shells
blockinfile:
dest: /etc/shells
block: |
/bin/bash
tags: login_shell
tags:
- login_shell
- adoptopenjdk

# move to role later
- name: Set variables for global environment
Expand All @@ -24,11 +28,15 @@
AIXTHREAD_HRT=true
PKG_CONFIG_PATH=/opt/freeware/lib64/pkgconfig:/opt/freeware/lib/pkgconfig
PERL5LIB=/opt/freemarker/lib/perl5
tags: login_shell
tags:
- login_shell
- adoptopenjdk

- name: Add freeware and xlc to PATH for global environment
replace:
path: /etc/environment
regexp: 'PATH=/usr/bin'
replace: 'PATH=/opt/freeware/bin:/opt/IBM/xlC/13.1.3/bin:/usr/bin'
tags: login_shell
replace: 'PATH=/usr/bin:/opt/IBM/xlC/13.1.3/bin:/opt/freeware/bin:/etc'
tags:
- login_shell
- adoptopenjdk