1 - name: "Update ~root from ~phd"
2 hosts: "{{ hosts | default('all') }}"
6 - name: "Update ~root - sync directories from ~phd"
7 command: "rsync -rlt --info=name ~phd/{{ item }} ~root"
9 changed_when: rsync.stdout != ''
10 loop: ['.vim', 'bin', 'lib']
12 - name: "Update ~root - sync files from ~phd"
14 src: "~phd/{{ item }}"
21 loop: ['.bashrc', 'admin/home/root/.profile',
22 '.bash_logout', '.inputrc', '.less', '.lesskey',
23 '.screenrc', '.shellrc', '.tmux.conf', '.vimrc',
26 - name: "Update root mc - overwrite files from ~phd/admin"
29 src: "~phd/admin/home/root/.mc/{{ item }}"
36 loop: ['hotlist', 'ini', 'panels.ini']