diff options
author | Andrew Butcher <abutcher@afrolegs.com> | 2017-01-16 10:20:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-16 10:20:29 -0500 |
commit | 99a93322b17e3ce5fcd335cfa70a1b54ac13715e (patch) | |
tree | 75f78bdb8a2d1adac620adf916a796adedccce64 /roles | |
parent | 78b948edb0c30e3ec876916a8bbe08db5f055ea7 (diff) | |
parent | 939f9963e9513c125aed349553ba0a0085203ad0 (diff) | |
download | openshift-99a93322b17e3ce5fcd335cfa70a1b54ac13715e.tar.gz openshift-99a93322b17e3ce5fcd335cfa70a1b54ac13715e.tar.bz2 openshift-99a93322b17e3ce5fcd335cfa70a1b54ac13715e.tar.xz openshift-99a93322b17e3ce5fcd335cfa70a1b54ac13715e.zip |
Merge pull request #3088 from jfchevrette/fix_openshift_storage_nfs_lvm
Fix role openshift_storage_nfs_lvm
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_storage_nfs_lvm/meta/main.yml | 3 | ||||
-rw-r--r-- | roles/openshift_storage_nfs_lvm/tasks/main.yml | 2 |
2 files changed, 3 insertions, 2 deletions
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 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 |