add some debugging info, was able to run the failed synchronize test locally just fine using test framework, not sure what's going on

pull/715/head
Steven Robertson 4 years ago
parent f91cbf4d00
commit c6d42212dd

@ -378,6 +378,12 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase):
if module_name == 'ansible.legacy.ping' and type(self).__name__ == 'wait_for_connection':
self._connection.context = None
if module_name == 'ansible.posix.synchronize':
print("SYNCHRONIZE")
else:
print("NOT SYNCHRONIZE")
print(type(self._connection))
self._connection._connect()
result = ansible_mitogen.planner.invoke(
ansible_mitogen.planner.Invocation(

@ -4,7 +4,7 @@
import json
import os
import sys
from __future__ import print_function
GIT_BASEDIR = os.path.dirname(
os.path.abspath(
@ -58,4 +58,5 @@ else:
args += ['-e', json.dumps(extra)]
args += sys.argv[1:]
print(args[0], "--", args)
os.execvp(args[0], args)

Loading…
Cancel
Save