Commit Graph

86 Commits (c6d42212ddb96a6c13dfaa166827569cb5023ba3)

Author SHA1 Message Date
Steven Robertson c6d42212dd add some debugging info, was able to run the failed synchronize test locally just fine using test framework, not sure what's going on 5 years ago
Steven Robertson f91cbf4d00 test cleanup and trying to replicate synchronize fails 5 years ago
Steven Robertson f994807d74 ansible 2.10 renamed ping module to reflect legacy builtin collection 5 years ago
Steven Robertson 03438271bb able to remove the hack on ActionBase after all 5 years ago
Steven Robertson 583f540889 added comments 5 years ago
Steven Robertson ddc1eebec8 able to load collection but the mitogen master proc was unable to serve it 6 years ago
Steven Robertson e99d63f4fc able to load collections but they don't do anything because no actionmodulemixin, need to tweak how this works 6 years ago
Steven Robertson acde13f9d6 handles a 'wait_for_connection' call right after a task caused a shutdown 6 years ago
Steven Robertson 5bf327649f add missing / to python paths 6 years ago
Steven Robertson 7411057ba8 adding in python3 as a possible_pythons option for rhel8 6 years ago
Steven Robertson 89d87445c8 able to pass tests running interpreter detection in rhel8 container 6 years ago
Steven Robertson 7d6d76e444 trying to get docker rhel8 working on a Mac host 6 years ago
Steven Robertson ee310c1a68 remove_internal_keys returns None, so need different way to check fallback 6 years ago
Steven Robertson 722cf0ea8d handle ansible 2.3.3 remove_internal_keys 6 years ago
Steven Robertson ba350aa6cf assigned interpreter vars to the wrong class 6 years ago
Steven Robertson d74da84f62 the clean module was added later 6 years ago
Steven Robertson ff2fa60184 fixed typo 6 years ago
Steven Robertson 0b57332d75 all test cases for ansible_python_interpreter on OSX pass now 6 years ago
Steven Robertson af1e22d4e1 able to propagate ansible_python_interpreter fact but still doesn't save between task runs 6 years ago
Steven Robertson a6d2b2cd90 doesn't error when declaring 'ansible_python_interpreter: auto' but fact isn't being cached 6 years ago
Steven Robertson d64adb15d7 reverted autolinted code 6 years ago
Steven Robertson e8f3154cab Merge branch 'master' into complexAnsiblePythonInterpreterArg 6 years ago
David Wilson d6329f3446 Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415 6 years ago
Steven Robertson 4669c8774f handles templating ansible_python_interpreter values 6 years ago
David Wilson 8dfb3966df issue #558, #582: preserve remote tmpdir if caller did not supply one
The undocumented 'tmp' parameter controls whether _execute_module()
would delete anything on 2.3, so mimic that. This means
_execute_remove_stat() calls will not blow away the temp directory,
which broke the unarchive plugin.
6 years ago
David Wilson c80fddd487 [linear2]: merge fallout flaggged by LGTM 6 years ago
David Wilson 6309774be2 issue #554: fix Ansible 2.4 compatibility 7 years ago
David Wilson 7743e57ff3 issue #554: track and remove multiple make_tmp_path() calls. 7 years ago
David Wilson 1f77d24bec Update copyright year everywhere. 7 years ago
David Wilson 97f3cfe4f4 issue #477: target.file_exists() wrapper.
os.path.exists physical module name varies across major Python versions.
7 years ago
David Wilson bcc7bb7128 issue #61: unused import (reported by LGTM) 7 years ago
David Wilson 9401c34f64 issue #461: Ansible 2.3 did not have _load_name. 7 years ago
David Wilson 1b17aa1d1a ansible: fix temp cleanup regression and add test; closes #397. 7 years ago
David Wilson 5521945bd2 ansible: temporary files take 5. 7 years ago
David Wilson 9ff34afafe ansible: fix regression. 7 years ago
David Wilson e241081cae ansible: stop sharing target temp_dir in runner.
This cannot work with delegate_to, since delegate_to permits multiple
concurrent tasks to be executing on the same target.
7 years ago
David Wilson 43d9815f6d ansible: use CallChain everywhere.
This replaces the 'dump to logger' behaviour of pipelined calls from
before with a call chain that returns any exception on next synchronized
call.
7 years ago
David Wilson 084c0ac065 ansible: avoid roundtrip in copy action due to fixup_perms2().
On top of existing temporary files work, this reduces the number of
roundtrips required for "copy" and "template" actions from 6 to 3.
7 years ago
David Wilson ac9b84d237 issue #321: 2.4+ compatibility fixes, disable test on Vanilla. 7 years ago
David Wilson f24f02ba06 issue #321: take remote_tmp and system_tmpdirs into account.
Can't simply ignore these settings as some users may have weird noexec
filesystems.
7 years ago
David Wilson a2686b1a2c issue #321: simplify temp directory handling. 7 years ago
David Wilson 3d588323ff issue #340: use expanded delegate_to hostname, not template.
PlayContext.delegate_to is the unexpanded template, Ansible doesn't keep
a copy of it around anywhere convenient. We either need to re-expand it
or take the expanded version that was stored on the Task, which is what
is done here.
7 years ago
David Wilson b44b823c4a ansible: make _remote_expand_user() pay attention to sudoable=.. 7 years ago
David Wilson a8e4dcc98d issue #301: correct remote_tmp evaluation context.
Vanilla Ansible expands remote_tmp variables in the context of the login
account, not any become_user account.
7 years ago
David Wilson 012745efea issue #297: local actions must execute with fixed directory.
Local actions must execute in the the parent directory of the playbook
that defines the action.
8 years ago
David Wilson 410016ff47 Initial Python 3.x port work.
* ansible: use unicode_literals everywhere since it only needs to be
  compatible back to 2.6.
* compat/collections.py: delete this entirely and rip out the parts of
  functools that require it.
* Introduce serializable Kwargs dict subclass that translates keys to
  Unicode on instantiation.
* enable_debug_logging() must set _v/_vv globals.
* cStringIO does not exist in 3.x.
* Treat IOLogger and LogForwarder input as latin-1.
* Avoid ResourceWarnings in first stage by explicitly closing fps.
* Fix preamble_size.py syntax errors.
8 years ago
David Wilson 3994f1b30a ansible: implment async job time limit. 8 years ago
David Wilson e35694acd5 ansible: flake8 fixes. 8 years ago
David Wilson fdbd954113 ansible: preload built-in modules in ModuleDepScanner.
For "ansible -m setup" over a 25ms link, avoids 65 roundtrips and
reduces runtime from 5.7s to 4.1s (-28%).

For "ansible -m setup" over a simulated 250 ms link, reduces runtime
from m27.015s to 0m8.254s (-69%).
8 years ago
David Wilson ddf28987a0 master: split Select() into new module to reduce wire size.
service.py currently imports master.py(+parent.py) just to get Select().
8 years ago