summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/rpm_key.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/rpm_key.py')
-rw-r--r--lib/ansible/modules/rpm_key.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/modules/rpm_key.py b/lib/ansible/modules/rpm_key.py
index f420eec5..9c46e43e 100644
--- a/lib/ansible/modules/rpm_key.py
+++ b/lib/ansible/modules/rpm_key.py
@@ -33,7 +33,7 @@ options:
choices: [ absent, present ]
validate_certs:
description:
- - If C(false) and the C(key) is a url starting with https, SSL certificates will not be validated.
+ - If V(false) and the O(key) is a url starting with V(https), SSL certificates will not be validated.
- This should only be used on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
@@ -85,7 +85,7 @@ import tempfile
# import module snippets
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.urls import fetch_url
-from ansible.module_utils._text import to_native
+from ansible.module_utils.common.text.converters import to_native
def is_pubkey(string):