install calicoctl on kube nodes
This commit is contained in:
parent
5589b0721e
commit
8529e7c0cc
@ -171,3 +171,9 @@
|
||||
- name: Restart kube-apiserver
|
||||
ansible.builtin.shell: "killall kube-apiserver"
|
||||
when: apiserver.changed
|
||||
|
||||
- name: Download calicoctl
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/projectcalico/calico/releases/download/v3.28.1/calicoctl-linux-{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
|
||||
dest: "/usr/bin/calicoctl"
|
||||
mode: '0755'
|
||||
|
Loading…
Reference in New Issue
Block a user