Skip to content
Snippets Groups Projects
Commit 37ccf7e4 authored by Takashi Okamoto's avatar Takashi Okamoto
Browse files

Fixed kubectl path.

parent 97e0de7e
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@
shell: >-
{{ bin_dir }}/kubectl get configmap kube-proxy -n kube-system -o yaml
| sed 's#server:.*#server:\ {{ kube_apiserver_endpoint }}#g'
| kubectl replace -f -
| {{ bin_dir }}/kubectl replace -f -
delegate_to: "{{groups['kube-master']|first}}"
run_once: true
when: is_kube_master and kubeadm_discovery_address != kube_apiserver_endpoint
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment