diff --git a/playbook.yml b/playbook.yml index 9c4f372..ab04cc4 100644 --- a/playbook.yml +++ b/playbook.yml @@ -196,7 +196,7 @@ ansible.builtin.replace: path: "{{ kubeconfig.path }}" regexp: '(server:)127\.0\.0\.1(:6443)$' - replace: "\\1{{ cluster.virtualip | ansible.utils.netaddr('ipaddr') }}\\2" + replace: "\\1{{ cluster.virtualip | ansible.utils.ipaddr('address') }}\\2" - ansible.builtin.slurp: src: "{{ kubeconfig.path }}" register: foo