mirror of https://github.com/ceph/ceph-ansible.git
validate: do not validate devices or lvm_volumes in osd_auto_discovery case
we shouldn't validate these two variables when `osd_auto_discovery` is
set.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1644623
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 243edfbc96
)
pull/4352/head
parent
6fa0eb90a2
commit
3fc880ee7a
|
@ -93,7 +93,7 @@ class ActionModule(ActionBase):
|
||||||
if host_vars["osd_group_name"] in host_vars["group_names"]:
|
if host_vars["osd_group_name"] in host_vars["group_names"]:
|
||||||
notario.validate(host_vars, osd_options, defined_keys=True)
|
notario.validate(host_vars, osd_options, defined_keys=True)
|
||||||
notario_store['osd_objectstore'] = host_vars["osd_objectstore"]
|
notario_store['osd_objectstore'] = host_vars["osd_objectstore"]
|
||||||
|
if not host_vars.get('osd_auto_discovery'):
|
||||||
if host_vars.get("devices"):
|
if host_vars.get("devices"):
|
||||||
notario.validate(
|
notario.validate(
|
||||||
host_vars, lvm_batch_scenario, defined_keys=True)
|
host_vars, lvm_batch_scenario, defined_keys=True)
|
||||||
|
|
Loading…
Reference in New Issue