From b0bfc173510ec7d5da715c0048e633a8fe3d2a4d Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 8 Aug 2018 17:04:29 -0500 Subject: [PATCH] lv-teardown: fail silently if lv_vars.yml is not found This allows user to opt out of using lv_vars.yml and load configuration from other sources. Signed-off-by: Andrew Schoen --- infrastructure-playbooks/lv-teardown.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure-playbooks/lv-teardown.yml b/infrastructure-playbooks/lv-teardown.yml index d443ecb68..4be713475 100644 --- a/infrastructure-playbooks/lv-teardown.yml +++ b/infrastructure-playbooks/lv-teardown.yml @@ -22,6 +22,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