de3f7c7739
* fix delegated interpeter * allow returning fact if it is 'the right host' * added note for future fix/efficiency as it stands we rerun discovery for the delegated host unless its saving facts to itself * fixed test lacking delegate_to mock
18 lines
322 B
Python
18 lines
322 B
Python
#!/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()
|