]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/root/tasks/root.yml
Fix(root): Remove '.bash_history'
[ansible.git] / playbooks / roles / root / tasks / root.yml
index 5ca9f960c6e574ceda7c24fbdb4c8f5778ebddf9..756af8cb0cfbb6a04a78ba9141b18a0671b64b26 100644 (file)
     mode: "0600"
   when: not sh_history.stat.exists
 
+- name: "Setup ~root - remove .bash_history"
+  become: true
+  file:
+    path: ~root/.bash_history
+    state: absent
+
 - name: "Setup ~root - link .bash_history"
   become: true
   file: