1 - name: "Setup ~root - overwrite files from ~phd"
12 loop: ['.bashrc', 'admin/home/root/.profile']
14 - name: "Setup ~root - copy directories from ~phd"
17 src: "~phd/{{ item }}"
22 directory_mode: "0700"
25 loop: ['.mc', '.ssh', '.vim', 'bin', 'lib']
27 - name: "Setup ~root - copy files from ~phd without overwriting"
30 src: "~phd/{{ item }}"
35 directory_mode: "0700"
38 loop: ['.bash_logout', '.inputrc', '.less', '.lesskey',
39 '.screenrc', '.shellrc', '.tmux.conf', '.vimrc',
42 - name: "Setup ~root - check .sh_history"
45 path: ~root/.sh_history
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
66 - name: "Setup ~root - create tmp/"