Skip to content
Snippets Groups Projects
Commit 4953330a authored by Chris Hines's avatar Chris Hines
Browse files

further tweaks to allow /usr/local/bin but only as a last choice

parent 2aee70cb
No related branches found
No related tags found
1 merge request!118Ansible check
...@@ -8,6 +8,15 @@ ...@@ -8,6 +8,15 @@
become: true become: true
become_user: root become_user: root
- name: remove old line
lineinfile:
args:
dest: "/etc/profile"
regexp: "^PATH=/usr/local/bin:/bin:/usr/bin$"
state: absent
become: true
become_user: root
- name: remove /usr/local/ from the PATH in /etc/profile - name: remove /usr/local/ from the PATH in /etc/profile
lineinfile: lineinfile:
args: args:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment