ansible/test/integration/targets/ansiballz_python/library/custom_module.py

19 lines
451 B
Python

#!/usr/bin/python
from __future__ import absolute_import, division, print_function
__metaclass__ = type
from ..module_utils.basic import AnsibleModule # pylint: disable=relative-beyond-top-level
from ..module_utils.custom_util import forty_two # pylint: disable=relative-beyond-top-level
def main():
module = AnsibleModule(
argument_spec=dict()
)
module.exit_json(answer=forty_two())
if __name__ == '__main__':
main()