replace dict with loop

This commit is contained in:
Dryusdan 2021-01-24 17:06:42 +01:00
parent e6ba5fa2ee
commit a60fe7e2e9
1 changed files with 1 additions and 1 deletions

View File

@ -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