mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix conn_type assignment (#24697)
This should be a single equal, not a double-one
This commit is contained in:
parent
0210a1a7dc
commit
14b1405ee4
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ class TaskExecutor:
|
||||||
# if using persistent paramiko connections (or the action has set the FORCE_PERSISTENT_CONNECTION attribute to True),
|
# if using persistent paramiko connections (or the action has set the FORCE_PERSISTENT_CONNECTION attribute to True),
|
||||||
# then we use the persistent connection plugion. Otherwise load the requested connection plugin
|
# then we use the persistent connection plugion. Otherwise load the requested connection plugin
|
||||||
if C.USE_PERSISTENT_CONNECTIONS or getattr(self, 'FORCE_PERSISTENT_CONNECTION', False):
|
if C.USE_PERSISTENT_CONNECTIONS or getattr(self, 'FORCE_PERSISTENT_CONNECTION', False):
|
||||||
conn_type == 'persistent'
|
conn_type = 'persistent'
|
||||||
else:
|
else:
|
||||||
conn_type = self._play_context.connection
|
conn_type = self._play_context.connection
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue