Replace copy module by synchronize, to delete inexistent dirs

This commit is contained in:
flyingscorpio@clevo 2022-08-14 09:52:23 +02:00
parent 8c7adf5ead
commit 5807c85f5b

View file

@ -18,6 +18,7 @@
- clang - clang
- npm - npm
- ripgrep - ripgrep
- rsync # for 'synchronize' module
- ansible-lint - ansible-lint
- flake8 - flake8
- mypy - mypy
@ -72,6 +73,7 @@
- clang - clang
- npm - npm
- ripgrep - ripgrep
- rsync # for 'synchronize' module
- flake8 - flake8
- mypy - mypy
- pylint3 - pylint3
@ -125,11 +127,11 @@
- {src: 'pylintrc', dest: '~/.pylintrc'} - {src: 'pylintrc', dest: '~/.pylintrc'}
- name: Copy lua configs - name: Copy lua configs
copy: synchronize:
src: lua src: lua
dest: ~/.config/nvim/ dest: ~/.config/nvim/
directory_mode: 0755 recursive: true
mode: 0644 delete: true
- name: Run PackerSync - name: Run PackerSync
command: nvim --headless -c 'autocmd User PackerComplete quitall' -c PackerSync command: nvim --headless -c 'autocmd User PackerComplete quitall' -c PackerSync