Fix kubeadm config images pull

Supported by kubeadm v1.11
This commit is contained in:
rongzhang 2019-01-11 11:26:38 +08:00
parent fcd895d032
commit 8d0158ceeb

View file

@ -27,5 +27,6 @@
- include_tasks: kubeadm_images.yml - include_tasks: kubeadm_images.yml
when: when:
- kube_version is version('v1.11.0', '>=')
- not skip_downloads|default(false) - not skip_downloads|default(false)
- inventory_hostname in groups['kube-master'] - inventory_hostname in groups['kube-master']