Clean up check for setting kubeadm certificate key (#4634)
Change-Id: I2c97c4753089eb3ec2e6b01b2681a8be98ecbb57pull/4640/head
parent
86d0e12695
commit
4d57ed314d
|
@ -119,7 +119,6 @@
|
||||||
- kubeadm_version is version('v1.14.0', '>=')
|
- kubeadm_version is version('v1.14.0', '>=')
|
||||||
- kubeadm_certificate_key is not defined
|
- kubeadm_certificate_key is not defined
|
||||||
- item | trim | match('.*--certificate-key .*')
|
- item | trim | match('.*--certificate-key .*')
|
||||||
- hostvars['kube-master'][0]['kubeadm_init']['stdout_lines'] is defined
|
|
||||||
|
|
||||||
- name: Create hardcoded kubeadm token for joining nodes with 24h expiration (if defined)
|
- name: Create hardcoded kubeadm token for joining nodes with 24h expiration (if defined)
|
||||||
shell: >-
|
shell: >-
|
||||||
|
|
Loading…
Reference in New Issue