Merge "Don't try to stream from winrm connections"
This commit is contained in:
commit
f7fcc24a6e
|
@ -267,6 +267,9 @@ class CallbackModule(default.CallbackModule):
|
||||||
if task.loop:
|
if task.loop:
|
||||||
# Don't try to stream from loops
|
# Don't try to stream from loops
|
||||||
continue
|
continue
|
||||||
|
if play_vars[host].get('ansible_connection') in ('winrm',):
|
||||||
|
# The winrm connections don't support streaming for now
|
||||||
|
continue
|
||||||
if play_vars[host].get('ansible_connection') in ('kubectl', ):
|
if play_vars[host].get('ansible_connection') in ('kubectl', ):
|
||||||
# Stream from the forwarded port on kubectl conns
|
# Stream from the forwarded port on kubectl conns
|
||||||
port = play_vars[host]['zuul']['resources'][
|
port = play_vars[host]['zuul']['resources'][
|
||||||
|
|
Loading…
Reference in New Issue