diff --git a/tests/ansible/lib/modules/custom_python_modify_environ.py b/tests/ansible/lib/modules/custom_python_modify_environ.py index 8cdd3bde..347bedf2 100644 --- a/tests/ansible/lib/modules/custom_python_modify_environ.py +++ b/tests/ansible/lib/modules/custom_python_modify_environ.py @@ -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!') diff --git a/tests/ansible/lib/modules/custom_python_run_script.py b/tests/ansible/lib/modules/custom_python_run_script.py index 2313291b..31e0609f 100644 --- a/tests/ansible/lib/modules/custom_python_run_script.py +++ b/tests/ansible/lib/modules/custom_python_run_script.py @@ -22,7 +22,7 @@ def execute(s, gbls, lcls): def main(): module = AnsibleModule(argument_spec={ 'script': { - 'type': str + 'type': 'str' } })