kubernetes-clustergcekubernetesbare-metalk8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansible
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.
17 lines
507 B
17 lines
507 B
---
|
|
- name: Kubeadm | Create directory to store kubeadm patches
|
|
file:
|
|
path: "{{ kubeadm_patches_dir }}"
|
|
state: directory
|
|
mode: "0640"
|
|
when: kubeadm_patches | length > 0
|
|
|
|
- name: Kubeadm | Copy kubeadm patches from inventory files
|
|
copy:
|
|
content: "{{ item.patch | to_yaml }}"
|
|
dest: "{{ kubeadm_patches_dir }}/{{ item.target }}{{ suffix }}+{{ item.type | d('strategic') }}.yaml"
|
|
owner: "root"
|
|
mode: "0644"
|
|
loop: "{{ kubeadm_patches }}"
|
|
loop_control:
|
|
index_var: suffix
|