Replace copy module by synchronize, to delete inexistent dirs
This commit is contained in:
parent
8c7adf5ead
commit
5807c85f5b
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue