David Wilson
277b8e4172
ansible: fix some flake8 errors
...
* Unused imports
* Undefined names in helpers.py
* Copyright header wrapping
7 years ago
David Wilson
6442aa47d1
ansible: fix become:true with sudo:true
7 years ago
David Wilson
f649318707
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.
7 years ago
David Wilson
2e3ca8dbfe
ansible: don't enable_debug_logging() for sudo
7 years ago
David Wilson
9e70a32567
ansible: log call timings
7 years ago
David Wilson
87db049669
ansible: delete utils.py and promote cast() to mitogen.utils
7 years ago
David Wilson
038cd02136
ansible: document the connection class.
7 years ago
David Wilson
c175fbfaf7
ansible: handle local connections and synchronize module too.
7 years ago
David Wilson
7a56ea46ed
ansible: fix syntax error
7 years ago
David Wilson
698996dc27
ansible: support local connections too
7 years ago
David Wilson
d0fbcc0f48
ansible: generalized action module wrapping.
7 years ago
David Wilson
371a259a5e
ansible: remove hard-wired UNIX socket path.
7 years ago
David Wilson
d3e79fc240
ansible: support become:True and become_user
7 years ago
David Wilson
8598ff07b3
ansible: restructure to avoid intermediate imports
7 years ago