'.screenrc', '.shellrc', '.tmux.conf', '.vimrc',
]
+- name: "Setup ~root - check .sh_history"
+ become: true
+ stat:
+ path: ~root/.sh_history
+ register: sh_history
+
- name: "Setup ~root - create .sh_history"
become: true
file:
owner: root
group: root
mode: "0600"
+ when: not sh_history.stat.exists
- name: "Setup ~root - link .bash_history"
become: true