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_named_certificates | |
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_named_certificates')
-rw-r--r-- | roles/openshift_named_certificates/filter_plugins/openshift_named_certificates.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/roles/openshift_named_certificates/filter_plugins/openshift_named_certificates.py b/roles/openshift_named_certificates/filter_plugins/openshift_named_certificates.py deleted file mode 100644 index 6ed6d404c..000000000 --- a/roles/openshift_named_certificates/filter_plugins/openshift_named_certificates.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -''' -Custom filters for use with openshift named certificates -''' - - -class FilterModule(object): - ''' Custom ansible filters for use with openshift named certificates''' - - @staticmethod - def oo_named_certificates_list(named_certificates): - ''' Returns named certificates list with correct fields for the master - config file.''' - return [{'certFile': named_certificate['certfile'], - 'keyFile': named_certificate['keyfile'], - 'names': named_certificate['names']} for named_certificate in named_certificates] - - def filters(self): - ''' returns a mapping of filters to methods ''' - return {"oo_named_certificates_list": self.oo_named_certificates_list} |