Commit Graph

12 Commits (db1b5f7d62fc65a6a7266bb09973418a61976cb3)

Author SHA1 Message Date
David Wilson 89b0faae2f Workaround for global state in yum_repository module; closes #154. 6 years ago
David Wilson 9b7991cd45 issue #118: log exceptions for emulated commands, fix AttributeError in helpers.py
Turns out Ansible can't be trusted to actually check the result
dictionary everywhere it expects one, so put the real exception text
into -vvv output too.
6 years ago
David Wilson 7080751f13 ansible: support environment: too. 6 years ago
David Wilson 3183dd4147 ansible: initial support for async jobs
Running in a thread to begin with, but this must change.
6 years ago
David Wilson f6d87faf37 tests: import ansible_helpers_test. 6 years ago
David Wilson 207159cf1a ansible: fix bug in apply_mode_spec(). 6 years ago
David Wilson ff617824a1 ansible: fix some flake8 errors
* Unused imports
* Undefined names in helpers.py
* Copyright header wrapping
6 years ago
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.
6 years ago
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.
6 years ago
David Wilson b7f563a6f0 ansible: remove old action subdirectory. 6 years ago
David Wilson 331f77ee2b ansible: generalized action module wrapping. 6 years ago
David Wilson a35fcf44cc ansible: restructure to avoid intermediate imports 6 years ago