tests: make mitogen_shutdown_all be run_once by default.

This commit is contained in:
David Wilson 2019-01-30 19:23:17 +00:00
parent f06152db97
commit b59a47aecb
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ from ansible.plugins.action import ActionBase
class ActionModule(ActionBase):
# Running this for every host is pointless.
BYPASS_HOST_LOOP = True
def run(self, tmp=None, task_vars=None):
if not isinstance(self._connection,
ansible_mitogen.connection.Connection):