diff --git a/roles/vim-plug/tasks/main.yml b/roles/vim-plug/tasks/main.yml index fbce5b1..1b9f153 100644 --- a/roles/vim-plug/tasks/main.yml +++ b/roles/vim-plug/tasks/main.yml @@ -8,5 +8,7 @@ - vim-plug-install - name: Configuration - ansible.builtin.shell: >- - vim +PlugInstall +qall + ansible.builtin.command: + cmd: vim +PlugInstall +qall + become: true + become_user: "{{ additional_user }}"