1 - name: "Update ~root from ~phd"
2 hosts: "{{ hosts | default('all') }}"
6 - name: "Update ~root - sync directories from ~phd"
7 ansible.posix.synchronize:
10 archive: no # avoid setting owner/group
14 delegate_to: "{{ inventory_hostname }}"
15 loop: ['.vim', 'bin', 'lib']
17 - name: "Update ~root - sync files from ~phd"
19 src: "~phd/{{ item }}"
25 loop: ['.bashrc', 'admin/home/root/.profile',
26 '.bash_logout', '.inputrc', '.less', '.lesskey',
27 '.screenrc', '.shellrc', '.tmux.conf', '.vimrc',
30 - name: "Create ~root/admin/prog/"
32 path: ~root/admin/prog
38 - name: "Update ~root/admin/prog/bash_prompt"
40 src: ~phd/admin/prog/bash_prompt
42 dest: ~root/admin/prog/bash_prompt
47 - name: "Update root mc - overwrite files from ~phd/admin"
50 src: "~phd/admin/home/root/.mc/{{ item }}"
57 loop: ['hotlist', 'ini', 'panels.ini']