ansible-test - Fix shell target options handling.

pull/77952/head
Matt Clay 3 years ago
parent 86779cc903
commit f933314101

@ -0,0 +1,2 @@
bugfixes:
- ansible-test - Prevent ``--target-`` prefixed options for the ``shell`` command from being combined with legacy environment options.

@ -202,6 +202,9 @@ def convert_legacy_args(
'--controller', '--controller',
'--target', '--target',
'--target-python', '--target-python',
'--target-posix',
'--target-windows',
'--target-network',
] ]
used_old_options = old_options.get_options_used() used_old_options = old_options.get_options_used()

Loading…
Cancel
Save