diff --git a/roles/allow_stale_nfs/tasks/main.yml b/roles/allow_stale_nfs/tasks/main.yml index b7c6b9482796106c8df1653930fbb6dcc5e5b591..0335897977526a6f7495b5a372a0b7422bb2c517 100644 --- a/roles/allow_stale_nfs/tasks/main.yml +++ b/roles/allow_stale_nfs/tasks/main.yml @@ -1,6 +1,6 @@ --- - name: remove /usr/local/ from the PATH in /etc/profile - lineinfile: + lineinfile: args: dest: "/etc/profile" insertbefore: BOF @@ -9,7 +9,7 @@ become_user: root - name: remove /usr/local/ from the PATH in /etc/profile - lineinfile: + lineinfile: args: dest: "/etc/profile" regexp: ".*pathmunge /usr/local.*"