2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-19 08:52:20 +00:00

Run every playbook of a remote configuration

asyncio has no sock_close, so the first playbook ended with an
AttributeError and the remaining ones were silently skipped.
This commit is contained in:
Markus Hilger
2026-10-30 19:31:00 +01:00
parent 57a4659d59
commit 680ff433ed
+1 -1
View File
@@ -158,7 +158,7 @@ class PlayRunner(object):
if result is not None:
self.results.append(result)
finally:
await asyncio.get_running_loop().sock_close(conn)
conn.close()
stdout, stder = await worker.communicate()
self.stderr += stder.decode('utf8')
self.stdout += stdout.decode('utf8')