mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
491 B
Python
24 lines
491 B
Python
5 years ago
|
#!/usr/bin/python
|
||
|
# https://github.com/ansible/ansible/issues/64664
|
||
|
# https://github.com/ansible/ansible/issues/64479
|
||
|
|
||
|
from __future__ import (absolute_import, division, print_function)
|
||
|
__metaclass__ = type
|
||
|
|
||
|
import sys
|
||
|
|
||
|
from ansible.module_utils.basic import AnsibleModule
|
||
|
|
||
|
|
||
|
def main():
|
||
|
module = AnsibleModule({})
|
||
|
|
||
|
this_module = sys.modules[__name__]
|
||
|
module.exit_json(
|
||
|
failed=not getattr(this_module, 'AnsibleModule', False)
|
||
|
)
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
main()
|