add profile paths for redhat systems
This commit is contained in:
7
tasks/pkgs/go_profile_path.yml
Normal file
7
tasks/pkgs/go_profile_path.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Add goroot to /etc/profile.d
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_src: "{{ pkg_src + ['go_profile_path'] }}"
|
||||
7
tasks/pkgs/usr_local_bin_profile_path.yml
Normal file
7
tasks/pkgs/usr_local_bin_profile_path.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Add /usr/local/bin to PATH
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_src: "{{ pkg_src + ['usr_local_bin_profile_path'] }}"
|
||||
Reference in New Issue
Block a user