blob: bdff5c7e4db76a713ca1e10de062e89def305aac (
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},
},
)
|