diff --git a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml index 371e66436..26d0ebe5b 100644 --- a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml +++ b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml @@ -275,6 +275,13 @@ msg: "The etcd deployment type, 'etcd_deployment_type', must be host or docker" run_once: true +- name: Stop if etcd deployment type is not host when container_manager != docker + assert: + that: etcd_deployment_type == 'host' + msg: "The etcd deployment type, 'etcd_deployment_type', must be host when container_manager is not docker" + when: container_manager != 'docker' + run_once: true + - name: Stop if download_localhost is enabled but download_run_once is not assert: that: download_run_once