summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/package_facts.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/package_facts.py')
-rw-r--r--lib/ansible/modules/package_facts.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ansible/modules/package_facts.py b/lib/ansible/modules/package_facts.py
index cc6fafad..ea3c6999 100644
--- a/lib/ansible/modules/package_facts.py
+++ b/lib/ansible/modules/package_facts.py
@@ -27,8 +27,8 @@ options:
strategy:
description:
- This option controls how the module queries the package managers on the system.
- V(first) means it will return only information for the first supported package manager available.
- V(all) will return information for all supported and available package managers on the system.
+ C(first) means it will return only information for the first supported package manager available.
+ C(all) will return information for all supported and available package managers on the system.
choices: ['first', 'all']
default: 'first'
type: str
@@ -240,7 +240,7 @@ ansible_facts:
import re
-from ansible.module_utils.common.text.converters import to_native, to_text
+from ansible.module_utils._text import to_native, to_text
from ansible.module_utils.basic import AnsibleModule, missing_required_lib
from ansible.module_utils.common.locale import get_best_parsable_locale
from ansible.module_utils.common.process import get_bin_path