tests/ansible/lib/modules/custom_python_external_module.py
raw| 1 | #!/usr/bin/python |
| 2 | # I expect the quote from modules2/module_utils/joker.py. |
| 3 | |
| 4 | from ansible.module_utils.basic import AnsibleModule |
| 5 | from ansible.module_utils import external1 |
| 6 | |
| 7 | def main(): |
| 8 | module = AnsibleModule(argument_spec={}) |
| 9 | module.exit_json(external1_path=external1.path(), |
| 10 | external2_path=external1.path2()) |
| 11 | |
| 12 | if __name__ == '__main__': |
| 13 | main() |