]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
lv-create: fail silenty if lv_vars.yml is not found
authorAndrew Schoen <aschoen@redhat.com>
Wed, 8 Aug 2018 21:49:34 +0000 (16:49 -0500)
committerSébastien Han <seb@redhat.com>
Thu, 16 Aug 2018 14:38:23 +0000 (16:38 +0200)
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 <aschoen@redhat.com>
infrastructure-playbooks/lv-create.yml

index c08c3f28b5f8d3711e3a0a0abb5dd282a43ec745..485cae239bd131641f10e194b0e5712784c0781c 100644 (file)
@@ -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