using rsync instead of copy for idempotency purposes

This commit is contained in:
aminnairi
2023-11-28 11:57:59 +01:00
parent 384e22c689
commit e29addc35e
+4 -4
View File
@@ -372,16 +372,16 @@
name: neovim name: neovim
state: present state: present
- name: Setup NeoVim for the unprivileged user - name: Setup NeoVim for the unprivileged user
copy: synchronize:
src: nvim src: nvim
dest: /$HOME/.config dest: /$HOME/.config
force: true delete: true
- name: Setup NeoVim for the administrator user - name: Setup NeoVim for the administrator user
become: true become: true
copy: synchronize:
src: nvim src: nvim
dest: /root/.config dest: /root/.config
force: true delete: true
- name: Install Neovim package from NPM - name: Install Neovim package from NPM
become: true become: true
npm: npm: