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