diff --git a/roles/allow_stale_nfs/tasks/main.yml b/roles/allow_stale_nfs/tasks/main.yml new file mode 100644 index 0000000000000000000000000000000000000000..b7c6b9482796106c8df1653930fbb6dcc5e5b591 --- /dev/null +++ b/roles/allow_stale_nfs/tasks/main.yml @@ -0,0 +1,23 @@ +--- +- 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