summaryrefslogtreecommitdiffstats
path: root/plugins/modules/fake_module.py
blob: 141362e412f68f42ccf582846d9ff432e0073df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""Sample custom ansible module named fake_module.

This is used to test ability to detect and use custom modules.
"""
from ansible.module_utils.basic import AnsibleModule


def main() -> None:
    """Return the module instance."""
    return AnsibleModule(
        argument_spec={
            "data": {"default": None},
            "path": {"default": None},
            "file": {"default": None},
        }
    )