From 2fe34b6444502079dc0b84365ce82dbc92de308e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:06:49 +0200 Subject: Adding upstream version 6.17.2. Signed-off-by: Daniel Baumann --- plugins/modules/fake_module.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 plugins/modules/fake_module.py (limited to 'plugins') diff --git a/plugins/modules/fake_module.py b/plugins/modules/fake_module.py new file mode 100644 index 0000000..bdff5c7 --- /dev/null +++ b/plugins/modules/fake_module.py @@ -0,0 +1,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}, + }, + ) -- cgit v1.2.3