Alex Willmer
6accc87da1
tests: Improve Ansible fail_msg formatting
...
By switching to block style (`|`) with clip (no `-` or `+`) the failure
messages don't require quoting and gain a single trailing newline. This causes
Ansible to print them as block style, when using the yaml stdout callback
plugin. As a result the values have one less layer of quoting and quote
escaping, making them much easier to read.
4 weeks ago
Alex Willmer
db0ffae352
tests: Enable stricter error handling, fix resulting failures
2 years ago
Alex Willmer
c61c063b4f
Support for Ansible 3 & 4
...
fixes #834
Co-authored-by: Claude Becker (@upekkha)
Co-authored-by: Dolph Mathews (@dolph)
3 years ago
Alex Willmer
3c58215a91
tests: Tag Ansible tests
...
This makes it easier to run subsets using ANSIBLE_RUN_TAGS=...
3 years ago
Dolph Mathews
bd086fd519
fix mac build failure
...
(cherry picked from commit 40b603e098
)
3 years ago
Alex Willmer
cfa5888547
tests: Print variables on failure of assert tasks
...
Fixes #852
3 years ago
David Wilson
7e0c2fd1af
tests: fix sudo_flags_failure for Ansible 2.8.3
5 years ago
David Wilson
2eb3ea78d6
tests: remove a bunch of stray debug
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
98ee3e177a
ansible: tests for sudo behaviour; closes #143 .
7 years ago