David Wilson
17dda781c0
issue #317 : ansible: fix log filtering in several cases
...
* mitogen/ansible_mitogen should only generate ERROR-level logs in
log_path unless -vvv is enabled.
* Targets were accidentally configured to always have DEBUG set, causing
many log messages to be sent on the wire even though they would be
filtered in the master.
Closes #317 .
2018-07-23 13:33:08 -07:00
David Wilson
b6d6468c92
issue #301 : support expandvars() for remote_tmp only.
...
Vanilla Ansible support expandvars-like expansions widely in a variety
of places. Prefer to whitelist those we need, rather than sprinkling
hellish semantics everywhere.
2018-07-22 16:25:06 -07:00
David Wilson
417e02bd6d
ansible: copy Ansible's method for finding the display.
2018-07-22 16:25:06 -07:00
David Wilson
d26fe5b993
issue #310 : fix negative imports on Python 3.x.
...
On 3.x, Importer() can still have its methods called even if
load_module() raises ImportError.
Closes #310 .
2018-07-22 16:25:06 -07:00
David Wilson
f7e288fa25
core: fd 0/1 were accidently made non-blocking.
...
This breaks regular code. Triggered by a huge pprint() in the child to
stdout.
2018-07-22 16:25:06 -07:00
David Wilson
6b79db2ecd
docs: document local connection process model difference.
2018-07-22 16:25:06 -07:00
David Wilson
1a74938ee0
issue #291 : missing env_wrapper.sh test script.
2018-07-22 16:25:06 -07:00
David Wilson
b5e7e97c62
issue #291 : update changelog.
2018-07-22 16:25:06 -07:00
David Wilson
e39c602fd3
issue #291 : support UNIX hashbang syntax for ansible_*_interpreter.
...
Closes #291 .
2018-07-22 16:24:42 -07:00
David Wilson
f977be2868
issue #291 : permit supplying a full Python argv.
2018-07-22 16:24:42 -07:00
dw
bb74217604
Merge pull request #315 from danquack/ansible-2.6
...
Ansible 2.6 Testing Support
2018-07-21 15:05:13 -04:00
Daniel Quackenbush
7a4f6e7428
commented out travis badge
2018-07-21 13:15:30 -04:00
Daniel Quackenbush
3297552f65
Updated readme with build status, updated docs
2018-07-21 11:30:41 -04:00
Daniel Quackenbush
5d3152cdc1
Updated Travis Config to use Ansible 2.6.1, Added build status in readme
2018-07-21 11:16:54 -04:00
dw
422c6e0b99
Merge pull request #312 from dw/issue309
...
issue #309 : fix environment cleanup regression.
2018-07-19 11:23:20 -04:00
David Wilson
15d68b3c32
issue #309 : fix environment cleanup regression.
...
Closes #309 .
2018-07-19 10:59:18 -04:00
dw
def848f118
Merge pull request #308 from dw/dmw
...
Dmw
2018-07-17 21:34:43 +01:00
David Wilson
09d077ebd7
docs: update release notes
2018-07-17 21:33:50 +01:00
David Wilson
830a133ad6
issue #307 : require partial line when matching interactive prompt.
...
This is a best-effort attempt to avoid SSHd banner spam from breaking
our password entry loop.
Closes #307 .
2018-07-17 20:49:45 +01:00
David Wilson
54a93f3c46
issue #307 : suppress SSH login banner when verbosity is disabled.
...
Login banner may include the password prompt, and there is no race-free
way to detect the difference between the banner and the prompt.
2018-07-17 17:57:55 +01:00
David Wilson
8ce51ec96c
issue #307 : add SSH login banner to Docker containers
2018-07-17 17:44:59 +01:00
David Wilson
336e90c5e3
parent: avoid needless quoting in Argv.
...
This just makes debug output a little more readable.
2018-07-15 20:40:33 +01:00
David Wilson
a5fae0d084
docs: add jgadling to Contributors
2018-07-15 17:10:58 +01:00
David Wilson
70d732d35b
docs: add "no route" to known issues.
2018-07-14 18:50:12 +01:00
David Wilson
8609fa5f44
docs: link to PyPI release, not GitHub archive URL.
...
Now download counts are visible via PSF BigQuery.
2018-07-14 05:50:27 +01:00
David Wilson
184104ce92
issue #303 : add doas to the docs
2018-07-13 15:08:51 +01:00
David Wilson
3f3c9cd001
Merge commit 'refs/pull/303/head' of github.com:dw/mitogen into dmw
...
issue #303
2018-07-13 14:56:14 +01:00
David Wilson
b9c88d344b
issue #299 : ansible: fix PluginLoader.get() monkey-patch
...
This prototype is broken for network_cli connections.
2018-07-12 22:40:15 +01:00
David Wilson
f20274ea18
docs: fix lock icon.
2018-07-12 21:36:33 +01:00
David Wilson
38799e22d2
examples: fix mitogen-fuse on 2.x.
2018-07-12 20:16:44 +01:00
napkindrawing
745d72bb1d
core: support for "doas" become_method
2018-07-12 14:54:41 -04:00
David Wilson
e609d1b1fb
docs: glaring ancient typo.
2018-07-12 05:44:24 +01:00
David Wilson
fd72720219
Merge branch 'dmw'
2018-07-10 20:57:59 +01:00
David Wilson
1c5a03bfa5
Bump version for release.
2018-07-10 20:56:44 +01:00
David Wilson
f2ee5ade7e
Update Changelog.
2018-07-10 20:56:29 +01:00
dw
c287b56f21
Merge pull request #298 from dw/dmw
...
Dmw
2018-07-10 20:56:09 +01:00
David Wilson
6dd9e8984d
issue #297 : fix viewkeys use on 3.x.
2018-07-10 20:20:22 +01:00
David Wilson
124d8023a2
issue #297 : don't bother trying to restore old CWD.
2018-07-10 19:28:12 +01:00
David Wilson
0b1f92b59f
issue #297 : test fixes to match fixed CWD.
2018-07-10 18:48:11 +01:00
David Wilson
d8e0c9e12c
issue #297 : local commands must execute with WorkerProcess environment.
2018-07-10 18:42:09 +01:00
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.
2018-07-10 17:56:05 +01:00
David Wilson
26ba3e4d83
issue #294 : stronger integration test
...
Run the tests in a brand new ansible-playbook invocation, and try both
linear->mitogen->linear and mitogen->linear->mitogen.
2018-07-10 17:52:20 +01:00
David Wilson
9a453d4753
Bump version for release.
2018-07-09 17:43:44 +01:00
David Wilson
b734a2a5f3
examples: fix mitop for Python 3.
2018-07-09 17:01:28 +01:00
dw
239ef65652
Merge pull request #296 from dw/dmw
...
Dmw
2018-07-09 16:06:58 +01:00
David Wilson
a61212ffb7
docs: one more known issue.
2018-07-09 16:04:28 +01:00
David Wilson
63c7a3013d
docs: ansible: add workaround for 'raw' support.
2018-07-09 15:55:24 +01:00
David Wilson
5b03e06457
issue #294 : ansible: fix mixed vanilla/Mitogen runs.
...
Don't bother trying to understand what damage PluginLoader has done to
ansible.plugins.* namespace, just ask it for the base class instead.
2018-07-09 15:48:17 +01:00
David Wilson
5668267f47
tests: import debug_ansible_playbook.sh.
2018-07-09 15:33:44 +01:00
David Wilson
e1402b2214
tests: import various bench/ scripts.
2018-07-09 15:33:44 +01:00