|
|
@ -159,16 +159,18 @@ |
|
|
|
- kubeadm_token |
|
|
|
|
|
|
|
- name: kubeadm | Initialize other masters (experimental control plane) |
|
|
|
include: kubeadm-secondary-experimental.yml |
|
|
|
include_tasks: kubeadm-secondary-experimental.yml |
|
|
|
when: kubeadm_control_plane |
|
|
|
|
|
|
|
- name: kubeadm | Initialize other masters (experimental control plane) |
|
|
|
include: kubeadm-secondary-legacy.yml |
|
|
|
include_tasks: kubeadm-secondary-legacy.yml |
|
|
|
when: not kubeadm_control_plane |
|
|
|
|
|
|
|
- name: kubeadm | upgrade kubernetes cluster |
|
|
|
import_tasks: kubeadm-upgrade.yml |
|
|
|
when: upgrade_cluster_setup |
|
|
|
include_tasks: kubeadm-upgrade.yml |
|
|
|
when: |
|
|
|
- upgrade_cluster_setup |
|
|
|
- kubeadm_already_run.stat.exists |
|
|
|
|
|
|
|
- name: kubeadm | Check serviceaccount key again |
|
|
|
stat: |
|
|
|