mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Port to dual python2/python3 compat
This commit is contained in:
parent
e10b7e1773
commit
93fe022aa4
1 changed files with 2 additions and 2 deletions
|
@ -45,10 +45,10 @@ from ansible.module_utils.basic import AnsibleModule
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec = dict(
|
argument_spec=dict(
|
||||||
data=dict(required=False, default=None),
|
data=dict(required=False, default=None),
|
||||||
),
|
),
|
||||||
supports_check_mode = True
|
supports_check_mode=True
|
||||||
)
|
)
|
||||||
result = dict(ping='pong')
|
result = dict(ping='pong')
|
||||||
if module.params['data']:
|
if module.params['data']:
|
||||||
|
|
Loading…
Reference in a new issue