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
|
- 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue