diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-04-26 16:27:22 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-04-26 16:41:41 -0400 |
commit | 6614d8a84bee661f75948cce3c4b458b146154e0 (patch) | |
tree | 026583c66ced744dd36863cb63489dd3ca04562f /filter_plugins | |
parent | e221ac190ca1f953d1a52834c22c12a7c9dc4a46 (diff) | |
download | openshift-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.py | 2 |
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): |