16 lines
406 B
Python
16 lines
406 B
Python
|
#!/usr/bin/python
|
||
|
|
||
|
from __future__ import absolute_import, division, print_function
|
||
|
__metaclass__ = type
|
||
|
|
||
|
from ansible.module_utils.basic import AnsibleModule
|
||
|
from ansible.module_utils.facts import data
|
||
|
|
||
|
results = {"data": data}
|
||
|
|
||
|
arg_spec = dict(
|
||
|
foo=dict(type='str', aliases=['baz'], deprecated_aliases=[dict(name='baz', version='9.99')])
|
||
|
)
|
||
|
|
||
|
AnsibleModule(argument_spec=arg_spec).exit_json(**results)
|