From a0a5ab9faf48c16303a87c25ce9b8e5743b43fac Mon Sep 17 00:00:00 2001 From: Dryusdan Date: Mon, 8 Feb 2021 16:28:42 +0100 Subject: [PATCH] Check all stdout and replace them --- tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 22f33c2..00da12e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -131,14 +131,14 @@ - upgrade - name: Patch web-vault - shell: "git apply {{ item.home }}/bw_web_builds/patches/{{ webvault_version.stdout }}.patch" + shell: "git apply {{ item.item.home }}/bw_web_builds/patches/{{ item.stdout }}.patch" args: - chdir: "{{ item.home }}/web-vault" + chdir: "{{ item.item.home }}/web-vault" become: yes - become_user : "{{ item.name }}" + become_user : "{{ item.item.name }}" become_method: su become_flags: '-s /bin/bash' - loop: "{{ bitwarden }}" + loop: "{{ webvault_version.results }}" tags: - install - upgrade