diff options
author | Michael Gugino <mgugino@redhat.com> | 2018-01-04 23:55:34 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2018-01-10 11:34:36 -0500 |
commit | d3fefc32a727fe3c13159c4e9fe4399f35b487a8 (patch) | |
tree | 3211ffc7fa4c8df9ff93928e705ef5314d339f3c /roles/openshift_storage_glusterfs/tasks | |
parent | ee2d4b8e66a344e8f6ca12cbc9362a80a07555d0 (diff) | |
download | openshift-d3fefc32a727fe3c13159c4e9fe4399f35b487a8.tar.gz openshift-d3fefc32a727fe3c13159c4e9fe4399f35b487a8.tar.bz2 openshift-d3fefc32a727fe3c13159c4e9fe4399f35b487a8.tar.xz openshift-d3fefc32a727fe3c13159c4e9fe4399f35b487a8.zip |
Move more plugins to lib_utils
This commit continues moving plugins into lib_utils.
This commit does not move any plugins for add-on roles
such as logging and metrics.
Diffstat (limited to 'roles/openshift_storage_glusterfs/tasks')
-rw-r--r-- | roles/openshift_storage_glusterfs/tasks/glusterfs_config.yml | 1 | ||||
-rw-r--r-- | roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/tasks/glusterfs_config.yml b/roles/openshift_storage_glusterfs/tasks/glusterfs_config.yml index 2ea7286f3..a374df0ce 100644 --- a/roles/openshift_storage_glusterfs/tasks/glusterfs_config.yml +++ b/roles/openshift_storage_glusterfs/tasks/glusterfs_config.yml @@ -4,6 +4,7 @@ glusterfs_namespace: "{{ openshift_storage_glusterfs_namespace }}" glusterfs_is_native: "{{ openshift_storage_glusterfs_is_native | bool }}" glusterfs_name: "{{ openshift_storage_glusterfs_name }}" + # map_from_pairs is a custom filter plugin in role lib_utils glusterfs_nodeselector: "{{ openshift_storage_glusterfs_nodeselector | default(['storagenode', openshift_storage_glusterfs_name] | join('=')) | map_from_pairs }}" glusterfs_use_default_selector: "{{ openshift_storage_glusterfs_use_default_selector }}" glusterfs_storageclass: "{{ openshift_storage_glusterfs_storageclass }}" diff --git a/roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml b/roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml index b7cff6514..544a6f491 100644 --- a/roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml +++ b/roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml @@ -4,6 +4,7 @@ glusterfs_namespace: "{{ openshift_storage_glusterfs_registry_namespace }}" glusterfs_is_native: "{{ openshift_storage_glusterfs_registry_is_native | bool }}" glusterfs_name: "{{ openshift_storage_glusterfs_registry_name }}" + # map_from_pairs is a custom filter plugin in role lib_utils glusterfs_nodeselector: "{{ openshift_storage_glusterfs_registry_nodeselector | default(['storagenode', openshift_storage_glusterfs_registry_name] | join('=')) | map_from_pairs }}" glusterfs_use_default_selector: "{{ openshift_storage_glusterfs_registry_use_default_selector }}" glusterfs_storageclass: "{{ openshift_storage_glusterfs_registry_storageclass }}" |