mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
preinstall: check etcd_deployment_type (#7149)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
committed by
GitHub
parent
02213d6e07
commit
8331939aed
@@ -275,6 +275,13 @@
|
|||||||
msg: "The etcd deployment type, 'etcd_deployment_type', must be host or docker"
|
msg: "The etcd deployment type, 'etcd_deployment_type', must be host or docker"
|
||||||
run_once: true
|
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
|
- name: Stop if download_localhost is enabled but download_run_once is not
|
||||||
assert:
|
assert:
|
||||||
that: download_run_once
|
that: download_run_once
|
||||||
|
|||||||
Reference in New Issue
Block a user