From: Oleg Broytman Date: Sat, 11 Jan 2025 22:14:43 +0000 (+0300) Subject: Feat(playbooks/update-root): Sync `~root/.mc/extfs.d` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;p=ansible.git Feat(playbooks/update-root): Sync `~root/.mc/extfs.d` --- diff --git a/playbooks/update-root.yaml b/playbooks/update-root.yaml index 474307f..dcca23e 100644 --- a/playbooks/update-root.yaml +++ b/playbooks/update-root.yaml @@ -74,3 +74,14 @@ group: root mode: "0600" loop: ['hotlist', 'ini', 'panels.ini'] + + - name: "Update root mc - sync extfs from ~phd" + ansible.posix.synchronize: + src: "~phd/.mc/extfs.d" + dest: ~root/.mc + archive: no # avoid setting owner/group + recursive: yes + delete: yes + links: yes + times: yes + delegate_to: "{{ inventory_hostname }}"