From: Andrew Schoen Date: Wed, 8 Aug 2018 21:49:34 +0000 (-0500) Subject: lv-create: fail silenty if lv_vars.yml is not found X-Git-Tag: v3.2.0beta2~49 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e43eec57bb44bf5f7a10da8548ca22a8772c2d92;p=ceph-ansible.git 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 --- 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