Fix loop_control label #2
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-04-22 23:52:49 +02:00
parent e05877f47f
commit 3a5a7bfd55

View File

@ -55,6 +55,7 @@
delay: 100 delay: 100
until: job_poll.finished until: job_poll.finished
loop: "{{ job_init.results }}" loop: "{{ job_init.results }}"
loop_control: "{{ { 'ip': item.item.ip } }}"
- name: Parse results into dictionary - name: Parse results into dictionary
ansible.builtin.set_fact: ansible.builtin.set_fact:
@ -93,7 +94,7 @@
path: ~/.ssh/known_hosts path: ~/.ssh/known_hosts
loop: "{{ publickeys.results }}" loop: "{{ publickeys.results }}"
loop_control: loop_control:
label: "{{ 'name': item.item.name, 'ip': item.item.ip } }}" label: "{{ { 'name': item.item.name, 'ip': item.item.ip } }}"
- name: Provision Kubernetes - name: Provision Kubernetes
hosts: k3s_ha hosts: k3s_ha