mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Port to dual python2/python3 compat
This commit is contained in:
committed by
Matt Clay
parent
e10b7e1773
commit
93fe022aa4
@@ -45,10 +45,10 @@ from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec = dict(
|
||||
argument_spec=dict(
|
||||
data=dict(required=False, default=None),
|
||||
),
|
||||
supports_check_mode = True
|
||||
supports_check_mode=True
|
||||
)
|
||||
result = dict(ping='pong')
|
||||
if module.params['data']:
|
||||
|
||||
Reference in New Issue
Block a user