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

changes to /etc/profile to allow login even when /usr/local is a stale mount

parent e3d1e496
No related branches found
No related tags found
1 merge request!110changes to /etc/profile to allow login even when /usr/local is a stale mount
---
- name: remove /usr/local/ from the PATH in /etc/profile
lineinfile:
args:
dest: "/etc/profile"
insertbefore: BOF
line: "PATH=/bin:/usr/bin"
become: true
become_user: root
- name: remove /usr/local/ from the PATH in /etc/profile
lineinfile:
args:
dest: "/etc/profile"
regexp: ".*pathmunge /usr/local.*"
state: absent
become: true
become_user: root
- name: dont execute abrt-cli on login
file: path=/etc/profile.d/abrt-console-notification.sh state=absent
become: true
become_user: root
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