From c756c99ea39689e4651312d2a2a79979585d02d2 Mon Sep 17 00:00:00 2001 From: Jean-Francois Chevrette Date: Thu, 12 Jan 2017 16:09:31 -0500 Subject: add openshift_facts as role dependency --- roles/openshift_storage_nfs_lvm/meta/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/openshift_storage_nfs_lvm') diff --git a/roles/openshift_storage_nfs_lvm/meta/main.yml b/roles/openshift_storage_nfs_lvm/meta/main.yml index ea7c9bb45..50d94f6a3 100644 --- a/roles/openshift_storage_nfs_lvm/meta/main.yml +++ b/roles/openshift_storage_nfs_lvm/meta/main.yml @@ -14,4 +14,5 @@ galaxy_info: - all categories: - openshift -dependencies: [] +dependencies: +- role: openshift_facts -- cgit v1.2.3 From 939f9963e9513c125aed349553ba0a0085203ad0 Mon Sep 17 00:00:00 2001 From: Jean-Francois Chevrette Date: Thu, 12 Jan 2017 16:09:40 -0500 Subject: fix when statement indentation, cast to bool --- roles/openshift_storage_nfs_lvm/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/openshift_storage_nfs_lvm') 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 -- cgit v1.2.3