fix: remove --error-on-interact option from cli command

This commit is contained in:
Mauro Torrez 2020-10-06 09:35:43 -03:00
parent 4ae8e892c3
commit d9a8313b70

View File

@ -128,7 +128,7 @@ def read_args(task_args, check_mode):
password = task_args.get('password', '') password = task_args.get('password', '')
local_auth = task_args.get('local_auth', True) local_auth = task_args.get('local_auth', True)
cli_command = ( cli_command = (
'{} {} {} {} {} --connect --error-on-interact --output-json' '{} {} {} {} {} --connect --output-json'
'--no-color-output --no-output-paging' '--no-color-output --no-output-paging'
).format( ).format(
cli_path, cli_path,
@ -145,7 +145,7 @@ def read_args(task_args, check_mode):
'"cli_path", "cli_options", "conroller", "user", "password", ' '"cli_path", "cli_options", "conroller", "user", "password", '
'and "local_auth" arguments instead') 'and "local_auth" arguments instead')
cli_command = ( cli_command = (
'{} --connect --error-on-interact --output-json' '{} --connect --output-json'
' --no-color-output --no-output-paging' ' --no-color-output --no-output-paging'
).format(task_args.get('cli_cmd')) ).format(task_args.get('cli_cmd'))