File: custom_python_external_module.py

package info (click to toggle)
python-mitogen 0.3.26-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,456 kB
  • sloc: python: 22,134; sh: 183; makefile: 74; perl: 19; ansic: 18
file content (13 lines) | stat: -rw-r--r-- 379 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/python
# I expect the quote from modules2/module_utils/joker.py.

from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils import external1

def main():
    module = AnsibleModule(argument_spec={})
    module.exit_json(external1_path=external1.path(),
                     external2_path=external1.path2())

if __name__ == '__main__':
    main()