Change syntax
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2022-04-29 10:20:19 +02:00
parent d965d6e976
commit 9d30785983

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: "{{ ( cluster.servers )[0].ip | ansible.utils.ipaddr('address') }}"
- name: Replace API url
ansible.builtin.replace:
path: "{{ kubeconfig.path }}"