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.
16 lines
406 B
Python
16 lines
406 B
Python
5 years ago
|
#!/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)
|