1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Allows for testing binary modules (#24857)

This commit is contained in:
Martyn Ranyard 2017-05-22 19:00:06 +01:00 committed by Adrian Likins
parent b12beca3ed
commit 014f33655c

View file

@ -248,7 +248,7 @@ def main():
argspath = None argspath = None
if module_style not in ('new', 'ansiballz'): if module_style not in ('new', 'ansiballz'):
if module_style == 'non_native_want_json': if module_style in ('non_native_want_json', 'binary'):
argspath = write_argsfile(options.module_args, json=True) argspath = write_argsfile(options.module_args, json=True)
elif module_style == 'old': elif module_style == 'old':
argspath = write_argsfile(options.module_args, json=False) argspath = write_argsfile(options.module_args, json=False)