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