From c42c15d58edd06f215d0bffe96d0a654867d6a88 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Tue, 24 Dec 2024 00:19:40 +0100 Subject: [PATCH] Aggiunta sudo a azioni per utente. --- roles/vim-plug/tasks/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 }}"