figure out what synchronize is now
This commit is contained in:
parent
e8fb4071b2
commit
49dd8eee1a
|
@ -378,11 +378,10 @@ 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))
|
||||
if 'synchronize' in module_name:
|
||||
print('SYNCHRONIZE')
|
||||
print(module_name)
|
||||
print(type(self._connection))
|
||||
|
||||
self._connection._connect()
|
||||
result = ansible_mitogen.planner.invoke(
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue