diff --git a/roles/allow_stale_nfs/tasks/main.yml b/roles/allow_stale_nfs/tasks/main.yml index 0335897977526a6f7495b5a372a0b7422bb2c517..391c34dcb35fda959d8babfa848eb8cf6b820566 100644 --- a/roles/allow_stale_nfs/tasks/main.yml +++ b/roles/allow_stale_nfs/tasks/main.yml @@ -1,10 +1,10 @@ --- -- name: remove /usr/local/ from the PATH in /etc/profile +- name: place /usr/local/ last in the PATH in /etc/profile lineinfile: args: dest: "/etc/profile" insertbefore: BOF - line: "PATH=/bin:/usr/bin" + line: "PATH=/bin:/usr/bin:/usr/local/bin" become: true become_user: root