1 - name: "Setup ~root - overwrite files from ~phd"
11 loop: ['.bashrc', 'admin/home/root/.profile']
13 - name: "Setup ~root - copy directories from ~phd"
16 src: "~phd/{{ item }}"
21 directory_mode: "0700"
24 loop: ['.mc', '.ssh', '.vim', 'bin', 'lib']
26 - name: "Setup ~root - copy files from ~phd without overwriting"
29 src: "~phd/{{ item }}"
34 directory_mode: "0700"
37 loop: ['.bash_logout', '.inputrc', '.less', '.lesskey',
38 '.screenrc', '.shellrc', '.tmux.conf', '.vimrc',
41 - name: "Setup ~root - check .sh_history"
44 path: ~root/.sh_history
46 changed_when: not sh_history.stat.exists
48 - name: "Setup ~root - create .sh_history"
51 path: ~root/.sh_history
56 when: not sh_history.stat.exists
58 - name: "Setup ~root - link .bash_history"
61 path: ~root/.bash_history
65 - name: "Setup ~root - create tmp/"
68 path: ~root/tmp/vim/undo