issue #477: Ansible 2.3 had stricter arg spec format.

issue510
David Wilson 6 years ago
parent 1f17422598
commit be8562ce09

@ -12,8 +12,8 @@ import sys
def main():
module = AnsibleModule(argument_spec={
'key': {'type': str},
'val': {'type': str}
'key': {'type': 'str'},
'val': {'type': 'str'}
})
os.environ[module.params['key']] = module.params['val']
module.exit_json(msg='Muahahaha!')

@ -22,7 +22,7 @@ def execute(s, gbls, lcls):
def main():
module = AnsibleModule(argument_spec={
'script': {
'type': str
'type': 'str'
}
})

Loading…
Cancel
Save