path: "~root/{{ item }}"
state: link
src: "../.mc"
- force: yes
loop: ['.cache/mc', '.config/mc']
- name: "Setup root mc - link mc directories (2)"
path: "~root/{{ item }}"
state: link
src: "../../.mc"
- force: yes
loop: ['.local/share/mc']
when: links_exist.results|selectattr('stat.exists')|selectattr('stat.islnk')|list|length != 3
owner: root
group: root
mode: "0600"
- force: yes
loop: ['hotlist', 'ini', 'panels.ini']
group: root
directory_mode: "0700"
mode: "0600"
- force: yes
loop: ['.bashrc', 'admin/home/root/.profile']
- name: "Setup ~root - copy directories from ~phd"
path: ~root/.bash_history
src: ./.sh_history
state: link
- force: yes
- name: "Setup ~root - create tmp/"
become: true