David Wilson
2e3d04bbb8
issue #342 : forward _create_control_path() to SSH plugin.
...
network_cli connection type loads the "ssh" (mitogen_ssh) plugin and
expects a private method to exist.
6 years ago
David Wilson
ed19e108d8
Merge branch 'dmw'
6 years ago
David Wilson
bc682ce5a0
docs: update supported versions.
6 years ago
David Wilson
9fe0a2fbd3
Merge branch 'dmw'
...
- Build matrix simplification
- Ansible 2.6 support
- New 0-RTT temp dir scheme
- don't generate illegal default remote_name
- fix connection delegation config issues
- /etc/environment emulation
- fix LXD calling wrong commands
6 years ago
David Wilson
a4ed27fa63
tests: add playbook step to ensure key file perms.
6 years ago
David Wilson
4318c578d3
tests: add playbook step to ensure key file perms.
6 years ago
David Wilson
77b68f9b9d
issue #321 : docs fixes
6 years ago
David Wilson
ac9b84d237
issue #321 : 2.4+ compatibility fixes, disable test on Vanilla.
6 years ago
David Wilson
4afe2fdc55
issue #321 : fix probable threading issue.
6 years ago
David Wilson
f24f02ba06
issue #321 : take remote_tmp and system_tmpdirs into account.
...
Can't simply ignore these settings as some users may have weird noexec
filesystems.
6 years ago
David Wilson
a2686b1a2c
issue #321 : simplify temp directory handling.
6 years ago
David Wilson
2fcea4b199
add extra 'pass' statements to work around minify issues.
6 years ago
David Wilson
27b64a484b
docs: document mitogen.core.CHUNK_SIZE.
6 years ago
David Wilson
ec8d759d46
docs: document one more.
6 years ago
David Wilson
df5342af22
core: split out _internal_receive()
...
This is needed for libssh2.
6 years ago
David Wilson
442d88e3d7
docs: many more fixes/merges.
6 years ago
David Wilson
8b800e4798
add --dump to preamble_size.py.
6 years ago
David Wilson
a561fb79e5
docs: merge more docs back into mitogen/core.py.
6 years ago
David Wilson
06e2e846c5
parent: don't generate illegal default remote names.
...
getpass.getuser() output may contain slashes, which must be avoided as
they break virtualenv when present in argv[0].
Closes #344 .
6 years ago
David Wilson
3d588323ff
issue #340 : use expanded delegate_to hostname, not template.
...
PlayContext.delegate_to is the unexpanded template, Ansible doesn't keep
a copy of it around anywhere convenient. We either need to re-expand it
or take the expanded version that was stored on the Task, which is what
is done here.
6 years ago
David Wilson
154dc2e119
tests: fix integration/runner/missing_module.yml on Travis.
6 years ago
David Wilson
3113bf6228
tests: fix debops tests (py-apt broken if /var/lbi/apt missing)
6 years ago
David Wilson
27c1f3e21e
sudo: missing comma >:(
6 years ago
David Wilson
30ca569716
docs: Update Changelog.
6 years ago
David Wilson
2d50270781
sudo: support '-i' flag.
...
Closes #343 .
6 years ago
David Wilson
a6995a5288
issue #338 : refactor env handling into class and fix tests.
6 years ago
David Wilson
06ae59702c
tests: rationalize matrix and rewrite ansible_tests
...
Now all distros run in parallel.
6 years ago
David Wilson
da391f0542
tests: fix host limit.
6 years ago
David Wilson
ce058eb8bd
Add 'clean' target to makefile.
6 years ago
David Wilson
8eb288856c
issue #338 : run /etc/environment test with become:true.
6 years ago
David Wilson
ad365dad56
issue #340 : one more test, update Changelog.
6 years ago
David Wilson
916e46621b
issue #340 : add connection delegation tests.
6 years ago
David Wilson
aed8fb531b
tests: unused imports
6 years ago
David Wilson
6dcd5f8998
issue #340 : split up Connection._connect()
...
The logic was getting too busy.
6 years ago
David Wilson
a1e653978b
issue #340 : connection delegation used wrong variable name.
...
When inventory name did not match remote_addr, it would attempt to SSH
to the inventory name.
6 years ago
David Wilson
370b98f960
ansible: tidy up connection.py.
...
- more docstrings.
- _wrap_or_none -> optional_secret()
6 years ago
David Wilson
d39efd9f54
tests: add new users for conndel tests.
6 years ago
David Wilson
e48e32cd0c
tests: image_prep fixes.
6 years ago
David Wilson
e1306bb03d
tests: build Docker images in parallel
6 years ago
David Wilson
8e35103185
docs: Update Changelog.
6 years ago
David Wilson
7d62c79ab7
docker: redirect stderr to stdout for nicer exceptions.
...
Unclear whether or not this is a hack, or whether it should be the
default for more connection methods. When enabled, the exception text
thrown when bootstrap fails includes the stderr text, which is
apparently always useful.
6 years ago
David Wilson
df112be704
tests: teach controller.yml to configure git too
6 years ago
David Wilson
9e572a7939
ansible: fix duplicate MuxProcess socket write.
...
The while: loop was necessary due to some cutpaste further on down the
file.
6 years ago
David Wilson
49c804937d
tests: import 2 more simple benchmarks.
6 years ago
David Wilson
9365f254d2
Update ChangeLog.
6 years ago
David Wilson
b521f215fd
ansible: handle >2.6 magic exceptions + sys.excepthook damage
...
Closes #332 .
6 years ago
David Wilson
a192935daf
tests: merge build_docker_images.py with osx_setup.yml
...
Hooray!
6 years ago
David Wilson
053c594d65
ansible: prevent logs spamming user console on exit.
...
Closes #331 .
6 years ago
David Wilson
6f524d3ff8
issue #339 : minimal tests for lxc/lxd modules.
6 years ago
David Wilson
2c2fc73b0a
tests: whups, s/ansible_hostname/ansible_host/
6 years ago