summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/delegate_to/library/detect_interpreter.py
blob: 1f4016772acbc5d73c91b427f7eddd0d2d530fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/python

from __future__ import absolute_import, division, print_function

__metaclass__ = type

import sys

from ansible.module_utils.basic import AnsibleModule


def main():
    module = AnsibleModule(argument_spec={})
    module.exit_json(**dict(found=sys.executable))


if __name__ == '__main__':
    main()