diff --git a/roles/neovim/tasks/main.yml b/roles/neovim/tasks/main.yml index 4328ffa..61014ae 100644 --- a/roles/neovim/tasks/main.yml +++ b/roles/neovim/tasks/main.yml @@ -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