diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2017-03-09 12:38:36 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2017-03-09 12:38:36 -0500 |
commit | 2e37c702c8d4c3778d172d8e886f68e23d4aeebc (patch) | |
tree | 64b83430e687a59ab778ae5eac6b842c67bd68b4 /roles/openshift_facts | |
parent | 573e91d03d7dccd79a03774c6889c2c2753836b1 (diff) | |
download | openshift-2e37c702c8d4c3778d172d8e886f68e23d4aeebc.tar.gz openshift-2e37c702c8d4c3778d172d8e886f68e23d4aeebc.tar.bz2 openshift-2e37c702c8d4c3778d172d8e886f68e23d4aeebc.tar.xz openshift-2e37c702c8d4c3778d172d8e886f68e23d4aeebc.zip |
Use six from ansible.module_utils for remote hosts
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 4 | ||||
-rw-r--r-- | roles/openshift_facts/vars/main.yml | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 8ea900e21..eeab8a99c 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -19,8 +19,8 @@ import struct import socket from distutils.util import strtobool from distutils.version import LooseVersion -from six import string_types, text_type -from six.moves import configparser +from ansible.module_utils.six import string_types, text_type +from ansible.module_utils.six.moves import configparser # ignore pylint errors related to the module_utils import # pylint: disable=redefined-builtin, unused-wildcard-import, wildcard-import diff --git a/roles/openshift_facts/vars/main.yml b/roles/openshift_facts/vars/main.yml index 07f5100ad..053a4cfc8 100644 --- a/roles/openshift_facts/vars/main.yml +++ b/roles/openshift_facts/vars/main.yml @@ -2,7 +2,6 @@ required_packages: - iproute - python-dbus - - python-six - PyYAML - yum-utils |