David Wilson
e0382ab2db
ansible: teach ActionModule to disappear for non-Mitogen Connections
...
Closes #103 .
2018-03-19 21:58:32 +05:45
David Wilson
734fb75203
ansible: mixins.py docstrings.
2018-03-19 21:58:32 +05:45
David Wilson
7080751f13
ansible: support environment: too.
2018-03-19 21:58:32 +05:45
David Wilson
7cf2edc3a8
ansible: Support many more common playbook variables.
2018-03-19 21:58:32 +05:45
David Wilson
3183dd4147
ansible: initial support for async jobs
...
Running in a thread to begin with, but this must change.
2018-03-19 21:58:31 +05:45
David Wilson
ff617824a1
ansible: fix some flake8 errors
...
* Unused imports
* Undefined names in helpers.py
* Copyright header wrapping
2018-03-19 21:58:31 +05:45
David Wilson
76e739a0ba
ansible: inverted sense of execute paramter
2018-03-19 21:58:31 +05:45
David Wilson
83f2862431
ansible: _remote_chmod() / _fixup_perms2() can be called sometimes.
...
It's used at least by the copy module, even though the result is still
mostly a no-op. _remote_chmod() doesn't accept octal mode, it accepts
symbolic mode. So implement a symbolic parser in helpers.py.
2018-03-19 21:58:31 +05:45
David Wilson
f3315fc172
ansible: better emulate _low_level_execute_command()
...
Still needs a ton of work to emulate argument handling, shell selection,
and output emulation in every case. Unsurprisingly, Ansible documents
none of this.
2018-03-19 21:58:31 +05:45
David Wilson
cccfebec74
ansible: correct temp file cleanup for template action.
2018-03-19 21:58:30 +05:45
David Wilson
1e9fd63343
ansible: Ansible 2.4 compatibility.
2018-03-19 21:58:30 +05:45
David Wilson
91116810a1
ansible: delete utils.py and promote cast() to mitogen.utils
2018-03-19 21:58:30 +05:45
David Wilson
57894b18e0
ansible: support class_only=True in wrapped loader
2018-03-19 21:58:29 +05:45
David Wilson
331f77ee2b
ansible: generalized action module wrapping.
2018-03-19 21:58:29 +05:45