Escape patterns to avoid invalid group reference
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
076f8cb5a9
commit
7b6e759a73
@ -196,7 +196,8 @@
|
||||
ansible.builtin.replace:
|
||||
path: "{{ kubeconfig.path }}"
|
||||
regexp: '(server:)127\.0\.0\.1(:6443)$'
|
||||
replace: "\\1{{ cluster.virtualip | ansible.utils.ipaddr('address') }}\\2"
|
||||
replace: >-
|
||||
\1'{{ cluster.virtualip | ansible.utils.ipaddr('address') }}'\2
|
||||
- ansible.builtin.slurp:
|
||||
src: "{{ kubeconfig.path }}"
|
||||
register: foo
|
||||
|
Loading…
Reference in New Issue
Block a user