Commit Graph

1463 Commits (9fe0a2fbd3aff4dc7339b0cbdc05e36086a9bb37)
 

Author SHA1 Message Date
David Wilson 2c74eac19a issue #291: more Ansible-compatible script invocation
When running any kind of script, rewrite the hashbang like Ansible does,
but subsequently ignore it and explicitly use a fragment of shell from
the ansible_*_interpreter variable to call the interpreter, just like
Ansible does.

This fixes hashbangs containing '/usr/bin/env A=1 bash' on Linux, where
putting that into a hashbang line results in an infinite loop.
6 years ago
David Wilson 9410903f20 issue #301: add related test. 6 years ago
David Wilson 11c73baa9c docs: update Changelog. 6 years ago
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.
6 years ago
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.
6 years ago
David Wilson 417e02bd6d ansible: copy Ansible's method for finding the display. 6 years ago
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.
6 years ago
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.
6 years ago
David Wilson 6b79db2ecd docs: document local connection process model difference. 6 years ago
David Wilson 1a74938ee0 issue #291: missing env_wrapper.sh test script. 6 years ago
David Wilson b5e7e97c62 issue #291: update changelog. 6 years ago
David Wilson e39c602fd3 issue #291: support UNIX hashbang syntax for ansible_*_interpreter.
Closes #291.
6 years ago
David Wilson f977be2868 issue #291: permit supplying a full Python argv. 6 years ago
dw bb74217604
Merge pull request #315 from danquack/ansible-2.6
Ansible 2.6 Testing Support
6 years ago
Daniel Quackenbush 7a4f6e7428 commented out travis badge 6 years ago
Daniel Quackenbush 3297552f65 Updated readme with build status, updated docs 6 years ago
Daniel Quackenbush 5d3152cdc1 Updated Travis Config to use Ansible 2.6.1, Added build status in readme 6 years ago
dw 422c6e0b99
Merge pull request #312 from dw/issue309
issue #309: fix environment cleanup regression.
6 years ago
David Wilson 15d68b3c32 issue #309: fix environment cleanup regression.
Closes #309.
6 years ago
dw def848f118
Merge pull request #308 from dw/dmw
Dmw
6 years ago
David Wilson 09d077ebd7 docs: update release notes 6 years ago
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.
6 years ago
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.
6 years ago
David Wilson 8ce51ec96c issue #307: add SSH login banner to Docker containers 6 years ago
David Wilson 336e90c5e3 parent: avoid needless quoting in Argv.
This just makes debug output a little more readable.
6 years ago
David Wilson a5fae0d084 docs: add jgadling to Contributors 6 years ago
David Wilson 70d732d35b docs: add "no route" to known issues. 6 years ago
David Wilson 8609fa5f44 docs: link to PyPI release, not GitHub archive URL.
Now download counts are visible via PSF BigQuery.
6 years ago
David Wilson 184104ce92 issue #303: add doas to the docs 6 years ago
David Wilson 3f3c9cd001 Merge commit 'refs/pull/303/head' of github.com:dw/mitogen into dmw
issue #303
6 years ago
David Wilson b9c88d344b issue #299: ansible: fix PluginLoader.get() monkey-patch
This prototype is broken for network_cli connections.
6 years ago
David Wilson f20274ea18 docs: fix lock icon. 6 years ago
David Wilson 38799e22d2 examples: fix mitogen-fuse on 2.x. 6 years ago
napkindrawing 745d72bb1d core: support for "doas" become_method 6 years ago
David Wilson e609d1b1fb docs: glaring ancient typo. 6 years ago
David Wilson fd72720219 Merge branch 'dmw' 6 years ago
David Wilson 1c5a03bfa5 Bump version for release. 6 years ago
David Wilson f2ee5ade7e Update Changelog. 6 years ago
dw c287b56f21
Merge pull request #298 from dw/dmw
Dmw
6 years ago
David Wilson 6dd9e8984d issue #297: fix viewkeys use on 3.x. 6 years ago
David Wilson 124d8023a2 issue #297: don't bother trying to restore old CWD. 6 years ago
David Wilson 0b1f92b59f issue #297: test fixes to match fixed CWD. 6 years ago
David Wilson d8e0c9e12c issue #297: local commands must execute with WorkerProcess environment. 6 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.
6 years ago
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.
6 years ago
David Wilson 9a453d4753 Bump version for release. 6 years ago
David Wilson b734a2a5f3 examples: fix mitop for Python 3. 6 years ago
dw 239ef65652
Merge pull request #296 from dw/dmw
Dmw
6 years ago
David Wilson a61212ffb7 docs: one more known issue. 6 years ago
David Wilson 63c7a3013d docs: ansible: add workaround for 'raw' support. 6 years ago