diff --git a/playbook.yml b/playbook.yml index e9b63e6..9c4f372 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.netaddr('ipaddr') }}\\2" - ansible.builtin.slurp: src: "{{ kubeconfig.path }}" register: foo