summaryrefslogtreecommitdiffstats
path: root/filter_plugins
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-04-26 16:27:22 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-04-26 16:41:41 -0400
commit6614d8a84bee661f75948cce3c4b458b146154e0 (patch)
tree026583c66ced744dd36863cb63489dd3ca04562f /filter_plugins
parente221ac190ca1f953d1a52834c22c12a7c9dc4a46 (diff)
downloadopenshift-6614d8a84bee661f75948cce3c4b458b146154e0.tar.gz
openshift-6614d8a84bee661f75948cce3c4b458b146154e0.tar.bz2
openshift-6614d8a84bee661f75948cce3c4b458b146154e0.tar.xz
openshift-6614d8a84bee661f75948cce3c4b458b146154e0.zip
Port lookup plugins to ansible v2.
Diffstat (limited to 'filter_plugins')
-rw-r--r--filter_plugins/openshift_master.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/filter_plugins/openshift_master.py b/filter_plugins/openshift_master.py
index c21709fe3..bb2f5ba7a 100644
--- a/filter_plugins/openshift_master.py
+++ b/filter_plugins/openshift_master.py
@@ -12,8 +12,10 @@ from ansible import errors
# pylint: disable=no-name-in-module,import-error
try:
+ # ansible-2.0
from ansible.runner.filter_plugins.core import bool as ansible_bool
except ImportError:
+ # ansible-1.9.x
from ansible.plugins.filter.core import bool as ansible_bool
class IdentityProviderBase(object):