k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
697 B
24 lines
697 B
---
|
|
- name: kubeadm | Create kubeadm config
|
|
template:
|
|
src: "kubeadm-images.yaml.j2"
|
|
dest: "{{ kube_config_dir }}/kubeadm-images.yaml"
|
|
|
|
- name: kubeadm | Copy kubeadm binary from download dir
|
|
synchronize:
|
|
src: "{{ local_release_dir }}/kubeadm"
|
|
dest: "{{ bin_dir }}/kubeadm"
|
|
compress: no
|
|
perms: yes
|
|
owner: no
|
|
group: no
|
|
delegate_to: "{{ inventory_hostname }}"
|
|
|
|
- name: kubeadm | Set kubeadm binary permissions
|
|
file:
|
|
path: "{{ bin_dir }}/kubeadm"
|
|
mode: "0755"
|
|
state: file
|
|
|
|
- name: container_download | download images for kubeadm config images
|
|
command: "{{ bin_dir }}/kubeadm config images pull --config={{ kube_config_dir }}/kubeadm-images.yaml"
|