From e43eec57bb44bf5f7a10da8548ca22a8772c2d92 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 8 Aug 2018 16:49:34 -0500 Subject: [PATCH] lv-create: fail silenty if lv_vars.yml is not found If a user decides to to use the lv_vars.yml file then it should fail silenty so that configuration can be picked up from other places. Signed-off-by: Andrew Schoen --- infrastructure-playbooks/lv-create.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure-playbooks/lv-create.yml b/infrastructure-playbooks/lv-create.yml index c08c3f28b..485cae239 100644 --- a/infrastructure-playbooks/lv-create.yml +++ b/infrastructure-playbooks/lv-create.yml @@ -8,6 +8,7 @@ - name: include vars of lv_vars.yaml include_vars: file: lv_vars.yaml + failed_when: false # need to check if lvm2 is installed - name: install lvm2 -- 2.39.5