76a1697cf1
Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
(cherry picked from commit a6e1f5ece9
)
10 lines
286 B
YAML
10 lines
286 B
YAML
---
|
|
- name: Set kubeadm api version to v1beta2
|
|
set_fact:
|
|
kubeadmConfig_api_version: v1beta2
|
|
|
|
- name: kubeadm | Create kubeadm config
|
|
template:
|
|
src: "kubeadm-config.{{ kubeadmConfig_api_version }}.yaml.j2"
|
|
dest: "{{ kube_config_dir }}/kubeadm-config.yaml"
|
|
mode: 0640
|