diff options
Diffstat (limited to 'lib/ansible/galaxy/token.py')
-rw-r--r-- | lib/ansible/galaxy/token.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/galaxy/token.py b/lib/ansible/galaxy/token.py index 313d0073..4455fd01 100644 --- a/lib/ansible/galaxy/token.py +++ b/lib/ansible/galaxy/token.py @@ -28,7 +28,7 @@ from stat import S_IRUSR, S_IWUSR from ansible import constants as C from ansible.galaxy.user_agent import user_agent -from ansible.module_utils.common.text.converters import to_bytes, to_native, to_text +from ansible.module_utils._text import to_bytes, to_native, to_text from ansible.module_utils.common.yaml import yaml_dump, yaml_load from ansible.module_utils.urls import open_url from ansible.utils.display import Display @@ -69,7 +69,7 @@ class KeycloakToken(object): # - build a request to POST to auth_url # - body is form encoded - # - 'refresh_token' is the offline token stored in ansible.cfg + # - 'request_token' is the offline token stored in ansible.cfg # - 'grant_type' is 'refresh_token' # - 'client_id' is 'cloud-services' # - should probably be based on the contents of the |