diff --git a/playbook.yml b/playbook.yml index 8a6ee8a..d8fa5ab 100644 --- a/playbook.yml +++ b/playbook.yml @@ -193,7 +193,8 @@ dest: "{{ kubeconfig.path }}" content: "{{ ( lookup('dict', hostvars) )[0].value.cluster.kubeconfig }}" mode: 0600 - + - ansible.builtin.debug: + msg: "{{ cluster.servers[0].ip | ansible.utils.ipaddr('address') }}" - name: Replace API url ansible.builtin.replace: path: "{{ kubeconfig.path }}"