From dcd9598e48bfb219948d780fed23843c82137ec8 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Mon, 21 Nov 2022 12:14:34 -0600 Subject: [PATCH] make sanity checks happy Signed-off-by: Adam Miller --- plugins/modules/rhel_facts.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/plugins/modules/rhel_facts.py b/plugins/modules/rhel_facts.py index e8084e5..4ecfca5 100644 --- a/plugins/modules/rhel_facts.py +++ b/plugins/modules/rhel_facts.py @@ -45,19 +45,26 @@ EXAMPLES = ''' RETURN = """ ansible_facts: description: Relevant Ansible Facts - returned: always + returned: when needed type: complex - sample: {'pkg_mgr': 'ansible.posix.rhel_facts'} + contains: + pkg_mgr: + description: System-level package manager override + returned: when needed + type: str + sample: {'pkg_mgr': 'ansible.posix.rhel_facts'} """ import os -import traceback from ansible.module_utils.basic import AnsibleModule + def main(): + module = AnsibleModule( argument_spec=dict(), + supports_check_mode=True, ) ansible_facts = {}