diff --git a/tasks/main.yml b/tasks/main.yml index 0490c2d..209fe46 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -65,7 +65,7 @@ shell: "unzip -o ghost-latest.zip 'content/*' -d ./" args: chdir: "{{ item.home }}/" - with_dict: "{{ ghost }}" + loop: "{{ ghost }}" become: yes become_user : "{{ item.account }}" when: ghost_deploy_site in item.name