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

Merge branch 'allow_stale_nfs' into 'master'

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



See merge request !110
parents 39c4afd7 0383a983
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