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
47 changed_when: not sh_history.stat.exists
49 - name: "Setup ~root - create .sh_history"
52 path: ~root/.sh_history
57 when: not sh_history.stat.exists
59 - name: "Setup ~root - link .bash_history"
62 path: ~root/.bash_history
67 - name: "Setup ~root - create tmp/"