diff --git a/tasks/main.yml b/tasks/main.yml index 0f9e6bc..37f79c6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -184,9 +184,10 @@ - upgrade - name: Extract web-vault - ansible.builtin.unarchive: - src: "{{ item.home }}/web-vault.tar.gz" - dest: "{{ item.home }}" + ansible.builtin.command: + cmd: "tar -xvf {{ item.home }}/web-vault.tar.gz" + args: + chdir: "{{ item.home }}" become: yes become_user : "{{ item.name }}" become_method: su