diff --git a/roles/mgrote_user_setup/handlers/main.yml b/roles/mgrote_user_setup/handlers/main.yml index eb9c281a..0429b5f9 100644 --- a/roles/mgrote_user_setup/handlers/main.yml +++ b/roles/mgrote_user_setup/handlers/main.yml @@ -2,10 +2,10 @@ - name: Vundle - PluginInstall # noqa no-changed-when risky-shell-pipe become: true become_user: "{{ item.user }}" - ansible.builtin.shell: yes | vim -E -c PluginInstall -c qall + ansible.builtin.shell: "yes | vim -E -c PluginInstall -c qall" args: chdir: "{{ item.home }}" loop: "{{ dotfiles }}" - register: plugin.rc + register: plugin successful_when: plugin.rc == 1 ...