From: Oleg Broytman Date: Thu, 11 Jun 2020 13:00:38 +0000 (+0300) Subject: Feat(update-root): Update `~root/admin/prog/short_curdir` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8f6016a7f873ccc704f99ed677ced9a3e7a9e08d;p=ansible.git Feat(update-root): Update `~root/admin/prog/short_curdir` --- diff --git a/playbooks/update-root.yml b/playbooks/update-root.yml index c59578b..611fa93 100644 --- a/playbooks/update-root.yml +++ b/playbooks/update-root.yml @@ -27,6 +27,23 @@ '.screenrc', '.shellrc', '.tmux.conf', '.vimrc', ] + - name: "Create ~root/admin/prog/" + file: + path: ~root/admin/prog + state: directory + owner: root + group: root + mode: "0600" + + - name: "Update ~root/admin/prog/short_curdir" + copy: + src: ~phd/admin/prog/short_curdir + remote_src: yes + dest: ~root/admin/prog/short_curdir + owner: root + group: root + mode: "0600" + - name: "Update root mc - overwrite files from ~phd/admin" become: true copy: