From da60c1b58b092a47ac706b74893a7ac93f078bc9 Mon Sep 17 00:00:00 2001 From: Mangirdas Date: Thu, 1 Feb 2018 11:07:16 +0000 Subject: dynamic inventory bug when group exists but its empty --- roles/openshift_node/tasks/storage_plugins/iscsi.yml | 1 + roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/openshift_node/tasks/storage_plugins/iscsi.yml b/roles/openshift_node/tasks/storage_plugins/iscsi.yml index 72415f9a6..e31433dbc 100644 --- a/roles/openshift_node/tasks/storage_plugins/iscsi.yml +++ b/roles/openshift_node/tasks/storage_plugins/iscsi.yml @@ -15,6 +15,7 @@ name: "{{ item }}" state: started enabled: True + when: not openshift_is_atomic | bool with_items: - multipathd - rpcbind diff --git a/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml b/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml index a5fdae803..e6e261b52 100644 --- a/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml +++ b/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml @@ -313,7 +313,10 @@ - glusterfs_storageclass or glusterfs_s3_deploy - include_tasks: glusterblock_deploy.yml - when: glusterfs_block_deploy + when: + - glusterfs_block_deploy + #TODO: Remove this when multipathd will be available on atomic + - not openshift_is_atomic | bool - block: - name: Create heketi block secret -- cgit v1.2.3