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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user