directory_mode: "0700"
mode: "0700"
force: no
- loop: ['.mc', '.ssh', '.vim', 'bin', 'lib']
+ loop: ['.mc', '.ssh', 'bin', 'lib']
+
+- name: "Setup ~root - copy vim from ~phd"
+ become: true
+ copy:
+ src: "~phd/{{ item }}"
+ remote_src: yes
+ dest: ~root
+ owner: root
+ group: root
+ directory_mode: "0700"
+ mode: "0700"
+ loop: ['.vim']
- name: "Setup ~root - copy files from ~phd without overwriting"
become: true
group: root
directory_mode: "0700"
mode: "0600"
- force: no
loop: ['.bash_logout', '.inputrc', '.less', '.lesskey',
'.screenrc', '.shellrc', '.tmux.conf', '.vimrc',
]
owner: root
group: root
mode: "0600"
- force: no
loop: ['.bashrc', 'admin/home/root/.profile',
'.bash_logout', '.inputrc', '.less', '.lesskey',
'.screenrc', '.shellrc', '.tmux.conf', '.vimrc',