|
|
|
@ -6,7 +6,6 @@ import re
|
|
|
|
import subprocess
|
|
|
|
import subprocess
|
|
|
|
import tempfile
|
|
|
|
import tempfile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LOG = logging.getLogger(__name__)
|
|
|
|
LOG = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
|
|
|
|
suffixes = [
|
|
|
|
suffixes = [
|
|
|
|
@ -42,9 +41,10 @@ def run(s):
|
|
|
|
return fp.read()
|
|
|
|
return fp.read()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logging.basicConfig(level=logging.DEBUG)
|
|
|
|
if __name__ == '__main__':
|
|
|
|
|
|
|
|
logging.basicConfig(level=logging.DEBUG)
|
|
|
|
|
|
|
|
|
|
|
|
for suffix in suffixes:
|
|
|
|
for suffix in suffixes:
|
|
|
|
ansible = run('ansible localhost %s' % (suffix,))
|
|
|
|
ansible = run('ansible localhost %s' % (suffix,))
|
|
|
|
mitogen = run('ANSIBLE_STRATEGY=mitogen ansible localhost %s' % (suffix,))
|
|
|
|
mitogen = run('ANSIBLE_STRATEGY=mitogen ansible localhost %s' % (suffix,))
|
|
|
|
|
|
|
|
|
|
|
|
|