Test delegate_to for whole block
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Danny Bessems 2022-04-21 08:41:06 +02:00
parent a7bd53fb6e
commit 7e83d61707
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,8 @@
src: kube-vip.j2
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: