mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
make sanity checks happy
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
fc5894171d
commit
dcd9598e48
1 changed files with 10 additions and 3 deletions
|
|
@ -45,19 +45,26 @@ EXAMPLES = '''
|
||||||
RETURN = """
|
RETURN = """
|
||||||
ansible_facts:
|
ansible_facts:
|
||||||
description: Relevant Ansible Facts
|
description: Relevant Ansible Facts
|
||||||
returned: always
|
returned: when needed
|
||||||
type: complex
|
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 os
|
||||||
import traceback
|
|
||||||
|
|
||||||
from ansible.module_utils.basic import AnsibleModule
|
from ansible.module_utils.basic import AnsibleModule
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(),
|
argument_spec=dict(),
|
||||||
|
supports_check_mode=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
ansible_facts = {}
|
ansible_facts = {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue