Test delegate_to for whole block
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2022-04-21 08:41:06 +02:00
parent a7bd53fb6e
commit 7e83d61707

View File

@ -137,7 +137,8 @@
src: kube-vip.j2 src: kube-vip.j2
dest: /var/lib/rancher/k3s/server/manifests/kube-vip.yml dest: /var/lib/rancher/k3s/server/manifests/kube-vip.yml
when: inventory_hostname == ansible_play_hosts[0] # when: inventory_hostname == ansible_play_hosts[0]
delegate_to: "{{ ansible_play_hosts[0] }}"
- block: - block: