Last active
January 26, 2021 02:39
-
-
Save kevenli/f1c303598fe0a64e0971eb540fa727c6 to your computer and use it in GitHub Desktop.
add python3 execuable path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/profile.d/python3.sh | |
PATH=$PATH:/usr/local/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ansible task | |
- name: Add another bin dir to system-wide $PATH. | |
copy: | |
dest: /etc/profile.d/custom-path.sh | |
content: 'PATH=$PATH:{{ my_custom_path_var }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment