PR #53 follow-up: Remove extra unneccessary loop.

This commit is contained in:
Jeff Geerling 2019-12-14 21:31:54 -06:00
parent 26bc01ad6b
commit ae196c82ff

View File

@ -7,7 +7,6 @@
--kubernetes-version {{ kubernetes_version_kubeadm }} --kubernetes-version {{ kubernetes_version_kubeadm }}
--ignore-preflight-errors={{ kubernetes_ignore_preflight_errors }} --ignore-preflight-errors={{ kubernetes_ignore_preflight_errors }}
{{ kubernetes_kubeadm_init_extra_opts }} {{ kubernetes_kubeadm_init_extra_opts }}
with_items: "{{ kubernetes_pod_network }}"
register: kubeadmin_init register: kubeadmin_init
failed_when: false failed_when: false
when: not kubernetes_init_stat.stat.exists when: not kubernetes_init_stat.stat.exists