Fix var reference
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2022-04-29 10:45:56 +02:00
parent 9d30785983
commit 3e27e12308

View File

@ -194,7 +194,7 @@
content: "{{ ( lookup('dict', hostvars) )[0].value.cluster.kubeconfig }}"
mode: 0600
- ansible.builtin.debug:
msg: "{{ ( cluster.servers )[0].ip | ansible.utils.ipaddr('address') }}"
msg: "{{ servers[0].ip | ansible.utils.ipaddr('address') }}"
- name: Replace API url
ansible.builtin.replace:
path: "{{ kubeconfig.path }}"