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.
15 lines
445 B
Python
15 lines
445 B
Python
8 years ago
|
#!/usr/bin/python
|
||
|
|
||
|
results = {}
|
||
|
# Test that we are rooted correctly
|
||
|
# Following files:
|
||
|
# module_utils/yak/zebra/foo.py
|
||
|
try:
|
||
|
from ansible.module_utils.zebra import foo
|
||
|
results['zebra'] = foo.data
|
||
|
except ImportError:
|
||
|
results['zebra'] = 'Failed in module as expected but incorrectly did not fail in AnsiballZ construction'
|
||
|
|
||
|
from ansible.module_utils.basic import AnsibleModule
|
||
|
AnsibleModule(argument_spec=dict()).exit_json(**results)
|