X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Froles%2Froot%2Ftasks%2Froot.yml;h=fb8d446f9234187b1ba78bccc8bde4f0b5e2dd58;hb=d8db111bb38f5d764ddfa853629a42e86e9572ac;hp=b713f01625c7d622f72bdcfd59c94ab68b096b58;hpb=deca49afab2a15720e6e0e1bfc01c6b13b62bfb7;p=ansible.git diff --git a/playbooks/debian/roles/root/tasks/root.yml b/playbooks/debian/roles/root/tasks/root.yml index b713f01..fb8d446 100644 --- a/playbooks/debian/roles/root/tasks/root.yml +++ b/playbooks/debian/roles/root/tasks/root.yml @@ -44,6 +44,7 @@ stat: path: ~root/.sh_history register: sh_history + changed_when: not sh_history.stat.exists - name: "Setup ~root - create .sh_history" become: true @@ -66,7 +67,7 @@ - name: "Setup ~root - create tmp/" become: true file: - path: tmp/vim/undo + path: ~root/tmp/vim/undo state: directory owner: root group: root