@ -378,10 +378,9 @@ 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")
if 'synchronize' in module_name:
print('SYNCHRONIZE')
print(module_name)
print(type(self._connection))
self._connection._connect()
@ -1,6 +1,5 @@
#!/usr/bin/env python
# Wrap ansible-playbook, setting up some test of the test environment.
from __future__ import print_function
import json
import os
import sys
@ -57,5 +56,4 @@ else:
args += ['-e', json.dumps(extra)]
args += sys.argv[1:]
print(args[0], "--", args)
os.execvp(args[0], args)