Steven Robertson
8481c50a59
ignore synchronize for now, made ticket
4 years ago
Steven Robertson
a7705a3435
add back in ansible tests but don't run synchronize
4 years ago
Steven Robertson
b26a636bba
remove ansible 2.4-specific test
4 years ago
Steven Robertson
fbb92e461f
fix fixup_perms2 default file mode
4 years ago
Steven Robertson
8925f8a9d7
disabled another issue with sudo on this test
5 years ago
Steven Robertson
ebf628a812
disabling another test
5 years ago
Steven Robertson
ecb15cd5f0
disable failing Azure test but that works locally
5 years ago
Steven Robertson
79b8814142
bump macOS test vm to replicate what passes locally
5 years ago
Steven Robertson
a7fe74cdba
forgot to dump gid info
5 years ago
Steven Robertson
96f896b56c
added debugging to figure out what's up with become_user and sudo runas gid not found
5 years ago
Steven Robertson
371ef07683
with statement doesn't exist in early python
5 years ago
Steven Robertson
9eedff97a6
closed fp after writing to temp files
5 years ago
David Wilson
61b651bdd2
issue #587 : workaround for ansible/ansible#56629
6 years ago
David Wilson
6309774be2
issue #554 : fix Ansible 2.4 compatibility
6 years ago
David Wilson
f36b4b47bf
issue #554 : don't rely on tmp_path autoremoval in test.
...
Ansible doesn't do this, so we shouldn't either.
6 years ago
David Wilson
7743e57ff3
issue #554 : track and remove multiple make_tmp_path() calls.
6 years ago
David Wilson
9df314f9c5
issue #499 : another totally moronic implementation difference
6 years ago
David Wilson
c61498202e
issue #477 : use assert_equal for nicer debug.
6 years ago
David Wilson
7d1b0e0807
issue #477 : Ansible 2.3 did not support gather_facts min subset.
6 years ago
David Wilson
c1a4597e32
issue #477 : tests: use Ansible 2.3-compatible include rather than import
...
This will break with Ansible 2.8. Probably going to end up with a regex
hack for CI.
6 years ago
David Wilson
bd82fa1986
issue #426 : fix low_level_execute_command.yml breakage.
6 years ago
David Wilson
a6e6fd14be
issue #426 : more 2->3 test fixes.
6 years ago
David Wilson
67f710fd9b
issue #426 : use delegate_to in fixup_perms2 and copy.yml
6 years ago
David Wilson
bef4b0c962
tests: fix copy.yml title
6 years ago
David Wilson
f87553b165
tests: must set ansible_become_pass in synchronize.yml.
6 years ago
David Wilson
fd5066d671
tests: teach various tests to cleanup /tmp when they're done.
6 years ago
David Wilson
1b17aa1d1a
ansible: fix temp cleanup regression and add test; closes #397 .
6 years ago
David Wilson
2eb3ea78d6
tests: remove a bunch of stray debug
6 years ago
David Wilson
5521945bd2
ansible: temporary files take 5.
6 years ago
David Wilson
638e473ff1
tests: hacksmash synchronize test to work
...
Avoid password typing idiocy.
6 years ago
David Wilson
638b196a45
ansible: fix put_file() for large temporary files.
...
Reverts 49736b3a
, large file copies can't avoid the RTT.
The parent stack must be blocked while FileService progresses, as unlike
the small file path, it does not make a snapshot of the (possibly
temporary) file passed by the action plug-in. So we need to keep that
file alive while the service runs.
Add a new integration test and a new soak test to cover both.
6 years ago
David Wilson
001b63074c
tests: fix another typo.
6 years ago
David Wilson
d5524178bf
tests: fix bonehead syntax error.
6 years ago
David Wilson
65f03e03f5
tests: remote_tmp test fixes.
6 years ago
David Wilson
72fa129f8a
tests: fix clash when localhost is test-target
6 years ago
David Wilson
90c2ed03d0
ansible: fix synchronize module
...
Broken by recent connection delegation fixes.
6 years ago
David Wilson
084c0ac065
ansible: avoid roundtrip in copy action due to fixup_perms2().
...
On top of existing temporary files work, this reduces the number of
roundtrips required for "copy" and "template" actions from 6 to 3.
6 years ago
David Wilson
ac9b84d237
issue #321 : 2.4+ compatibility fixes, disable test on Vanilla.
6 years ago
David Wilson
a2686b1a2c
issue #321 : simplify temp directory handling.
6 years ago
David Wilson
b44b823c4a
ansible: make _remote_expand_user() pay attention to sudoable=..
6 years ago
David Wilson
a8e4dcc98d
issue #301 : correct remote_tmp evaluation context.
...
Vanilla Ansible expands remote_tmp variables in the context of the login
account, not any become_user account.
6 years ago
David Wilson
9410903f20
issue #301 : add related test.
6 years ago
David Wilson
410016ff47
Initial Python 3.x port work.
...
* ansible: use unicode_literals everywhere since it only needs to be
compatible back to 2.6.
* compat/collections.py: delete this entirely and rip out the parts of
functools that require it.
* Introduce serializable Kwargs dict subclass that translates keys to
Unicode on instantiation.
* enable_debug_logging() must set _v/_vv globals.
* cStringIO does not exist in 3.x.
* Treat IOLogger and LogForwarder input as latin-1.
* Avoid ResourceWarnings in first stage by explicitly closing fps.
* Fix preamble_size.py syntax errors.
6 years ago
David Wilson
962ba862e9
tests: use test-targets group, not all group
7 years ago
David Wilson
ce260933d9
tests: consistent play naming everywhere
7 years ago
David Wilson
ef47347cdf
tests: raft of fixes for vanilla Ansible
7 years ago
David Wilson
63e2ec6406
tests: expanduser lookup runs locally
7 years ago
David Wilson
472610805f
tests: fix remote_tmp test on 2.5.x.
7 years ago
David Wilson
b9d4ec57b3
issue #164 : some more ActionMixin tests.
7 years ago
David Wilson
d068a36c1e
issue #164 : more dir layout contortions.
...
all.yml slurps in tests from each file/subdir in the CWD.
7 years ago