]> git.phdru.name Git - ansible.git/commitdiff
Feat(update-root): Update `~root/admin/prog/short_curdir`
authorOleg Broytman <phd@phdru.name>
Thu, 11 Jun 2020 13:00:38 +0000 (16:00 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 11 Jun 2020 13:00:38 +0000 (16:00 +0300)
playbooks/update-root.yml

index c59578b13b702f61755e6d5551891a5c2f29f2bd..611fa9318023e376920e860f407c9bc989927085 100644 (file)
              '.screenrc', '.shellrc', '.tmux.conf', '.vimrc',
             ]
 
              '.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:
     - name: "Update root mc - overwrite files from ~phd/admin"
       become: true
       copy: