Brian Coca
9a118ce213
Merge pull request #13648 from bcoca/fix_invocation_and_moderrors
...
better module error handling
9 years ago
Brian Coca
b201cf2ee1
switched from pythonic None to generic null
9 years ago
Brian Coca
add3a2a2da
Merge pull request #13651 from mscherer/fix_python3
...
Fix last commit, make it python3 compatible
9 years ago
Brian Coca
d41ad29db0
Merge pull request #13649 from mattroberts297/patch-1
...
Update playbooks_intro.rst
9 years ago
Michael Scherer
42b9a206ad
Fix last commit, make it python3 compatible (and py24)
9 years ago
Matt Roberts
809c9af68c
Update playbooks_intro.rst
...
If you follow the documentation through in order you shouldn't have
read about modules yet.
9 years ago
Brian Coca
957b376f9e
better module error handling
...
* now module errors clearly state msg=MODULE FAILURE
* module's stdout and stderr go into module_stdout and module_stderr keys
which only appear during parsing failure
* invocation module_args are deleted from results provided by action
plugin as errors can keep us from overwriting and then disclosing info that
was meant to be kept hidden due to no_log
* fixed invocation module_args set by basic.py as it was creating different
keys as the invocation in action plugin base.
* results now merge
9 years ago
Brian Coca
202b92179d
corrected role path search order
...
the unfraking was matching roles in current dir as it always returns a full path,
pushed to the bottom as match of last resort
fixes #13645
9 years ago
Brian Coca
010839aedc
fix no_log disclosure when using aliases
9 years ago
Yannig Perré
b22d998d1d
Fix make tests-py3 on devel. Fix for https://github.com/ansible/ansible/issues/13638 .
9 years ago
Toshio Kuratomi
c4da5840b5
Convert to bytes later so that make_become_command can jsut operate on text type.
9 years ago
Toshio Kuratomi
b33f72636a
Also remove the bool casting function info (transparent to module writer now)
9 years ago
Toshio Kuratomi
b310d0ce76
Update the developing doc to modern method of specifying bool argspec values
9 years ago
Brian Coca
474772c81c
Merge pull request #13639 from emonty/bool-conversion
...
Also convert ints to bool for type=bool
9 years ago
Monty Taylor
c60749c922
Also convert ints to bool for type=bool
9 years ago
Brian Coca
bbdfaf0522
move hostvars.vars to vars
...
this fixes duplication under hostvars and exposes all vars in the vars dict
which makes dynamic reference possible on 'non hostvars'
9 years ago
Toshio Kuratomi
0c013f592a
Transform the command we pass to subprocess into a byte string in _low_level-exec_command
9 years ago
James Cammarata
d22bbbf52c
Actually disable parallel makes for integration runner
9 years ago
James Cammarata
8119ea37af
Dropping instance size back down since we're not doing parallel builds
9 years ago
James Cammarata
45afa642c3
Integration test runner tweaks
9 years ago
James Cammarata
6d6822e66e
Kick up the integration runner test image size
9 years ago
James Cammarata
08b580decc
Parallelize make command for integration test runner
...
Also adds a new var, used by the prepare_tests role, to prevent it from
deleting the temp test directory at the start of each play to avoid any
potential race conditions
9 years ago
Brian Coca
eb16e11253
Merge pull request #13613 from azaghal/devel-13126-dig_lookup_documentation
...
Adding documentation for the 'dig' lookup (#13126 ).
9 years ago
Brian Coca
2281c455db
Merge pull request #13616 from resmo/for-ansible-stable-2.0
...
[stable-2.0] cloudstack: test_cs_instance: more integration tests
9 years ago
Brian Coca
75e94e0cba
allow for non standard hostnames
...
* Changed parse_addresses to throw exceptions instead of passing None
* Switched callers to trap and pass through the original values.
* Added very verbose notice
* Look at deprecating this and possibly validate at plugin instead
fixes #13608
9 years ago
Brian Coca
593d80c63d
role search path clarified
9 years ago
Yannig Perré
a4674906c6
Merge role params into variables separately from other variables
...
Fixes #13617
9 years ago
Brian Coca
e957335b0d
Merge pull request #13607 from mattclay/test-cache-typo
...
Fixed import typo for memcache module in tests.
9 years ago
James Cammarata
54455a06e5
Disable docker test for Fedora, due to broken packaging
9 years ago
James Cammarata
3a57d9472c
Save output of integration test results to files we can archive
9 years ago
Rene Moser
b85b92ecdd
cloudstack: test_cs_instance: more integration tests
...
cloudstack: extend test_cs_instance addressing recovering
cloudstack: test_cs_instance: add tests for using display_name as indentifier.
9 years ago
Toshio Kuratomi
6963955cb4
And change the task a little more since different shlex versions are handling the quotes differently
9 years ago
Toshio Kuratomi
21ca0ce1ce
Fix test playbook syntax
9 years ago
Toshio Kuratomi
3792a586b5
Since the velox test server seems to be dropping using iptables to drop requests from aws, test via a different website instead
9 years ago
Toshio Kuratomi
8d7892cc7b
Done troubleshooting
...
Revert "Troubleshooting has reduced us to this"
This reverts commit 9abef1a1d7
.
9 years ago
James Cammarata
6ae04c1e4f
Fix logic in PlayIterator when inserting tasks during rescue/always
...
Because the fail_state is potentially non-zero in these block sections,
the prior logic led to included tasks not being inserted at all.
Related issue: #13605
9 years ago
Toshio Kuratomi
5fef2c4297
Try updating the centos7 image to a newer version (trying to resolve issue being unable to connect to some webservers)
9 years ago
Toshio Kuratomi
b90506341a
Fixes for tests that assumed yum as package manager for systems that
...
have dnf
9 years ago
Branko Majic
6ec58bbd5f
Adding documentation for the 'dig' lookup ( #13126 ).
9 years ago
Toshio Kuratomi
3da312da9c
Switch from yum to package when installing sudo so that dnf is handled as well
9 years ago
James Cammarata
3ec0104128
Fixing bugs in conditional testing with until and some integration runner tweaks
9 years ago
Toshio Kuratomi
e2d9f4e2f2
Fix unittests for return of invocation from fail_json and exit_json
9 years ago
Brian Coca
bb2935549f
corrected service detection in docker versions
...
now if 1 == bash it falls back into tool detection
9 years ago
Toshio Kuratomi
e66c070e5c
Add package module to squash list
9 years ago
Toshio Kuratomi
9abef1a1d7
Troubleshooting has reduced us to this
9 years ago
Toshio Kuratomi
224d596336
Remove args from get_name() as we can't tell if any of the args are no_log
9 years ago
Toshio Kuratomi
8ffc1fa838
Comment to explain why we strip _ansible_notify specially
9 years ago
Toshio Kuratomi
51cca87d67
Also need redhat-rpm-config to compile pycrypto
9 years ago
Toshio Kuratomi
d32a885e98
Make return invocation information so that our sanitized copy will take precedence over what the executor knows.
9 years ago
Toshio Kuratomi
2936682f00
Revert "removed invocation info as it is not no_log aware"
...
This reverts commit 6127a8585e
.
9 years ago