summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Francois Chevrette <jf.cron0@gmail.com>2017-01-12 16:09:40 -0500
committerJean-Francois Chevrette <jf.cron0@gmail.com>2017-01-12 16:11:16 -0500
commit939f9963e9513c125aed349553ba0a0085203ad0 (patch)
tree6c1bd9170285fc394ff1da3b7ca3cc24a2ae5e94
parentc756c99ea39689e4651312d2a2a79979585d02d2 (diff)
downloadopenshift-939f9963e9513c125aed349553ba0a0085203ad0.tar.gz
openshift-939f9963e9513c125aed349553ba0a0085203ad0.tar.bz2
openshift-939f9963e9513c125aed349553ba0a0085203ad0.tar.xz
openshift-939f9963e9513c125aed349553ba0a0085203ad0.zip
fix when statement indentation, cast to bool
-rw-r--r--roles/openshift_storage_nfs_lvm/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_storage_nfs_lvm/tasks/main.yml b/roles/openshift_storage_nfs_lvm/tasks/main.yml
index ea0cc2a94..49dd657b5 100644
--- a/roles/openshift_storage_nfs_lvm/tasks/main.yml
+++ b/roles/openshift_storage_nfs_lvm/tasks/main.yml
@@ -2,7 +2,7 @@
# TODO -- this may actually work on atomic hosts
- fail:
msg: "openshift_storage_nfs_lvm is not compatible with atomic host"
- when: openshift.common.is_atomic | true
+ when: openshift.common.is_atomic | bool
- name: Create lvm volumes
lvol: vg={{osnl_volume_group}} lv={{ item }} size={{osnl_volume_size}}G