Skip to content
Snippets Groups Projects
Unverified Commit 8c182122 authored by Etienne Champetier's avatar Etienne Champetier Committed by GitHub
Browse files

preinstall: fixup etcd_deployment_type check (#7152)


fixes 8331939a
Thanks to Tomas Vanderka / karlism / LuckySB

Signed-off-by: default avatarEtienne Champetier <champetier.etienne@gmail.com>
parent 9c5c1a09
No related branches found
No related tags found
No related merge requests found
......@@ -273,14 +273,18 @@
assert:
that: etcd_deployment_type in ['host', 'docker']
msg: "The etcd deployment type, 'etcd_deployment_type', must be host or docker"
run_once: true
when:
- inventory_hostname in groups['etcd']
- not etcd_kubeadm_enabled
- 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
when:
- inventory_hostname in groups['etcd']
- not etcd_kubeadm_enabled
- container_manager != 'docker'
- name: Stop if download_localhost is enabled but download_run_once is not
assert:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment