Commit Graph

17429 Commits (9af054addf30028fdfa86ff063e38707924a34af)
 

Author SHA1 Message Date
Toshio Kuratomi 9af054addf Going to do this in the connection plugin
Revert "Convert to bytes later so that make_become_command can jsut operate on text type."

This reverts commit bfc082fb07.
9 years ago
Brian Coca 7f29cb9dc6 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 2786908bac fixed tests to follow new invocation structure
also added maxdiff setting to see issues clearly when they happen
9 years ago
Brian Coca 43331d8c31 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 579a2ff739 fix no_log disclosure when using aliases 9 years ago
Toshio Kuratomi bfc082fb07 Convert to bytes later so that make_become_command can jsut operate on text type.
Conflicts:
	lib/ansible/plugins/action/__init__.py
9 years ago
Yannig Perré 725e40c5e6 Fix make tests-py3 on devel. Fix for https://github.com/ansible/ansible/issues/13638. 9 years ago
Monty Taylor 8216a659fa Also convert ints to bool for type=bool 9 years ago
James Cammarata a2120a3d63 Version bump for 2.0.0-0.8.rc3 9 years ago
Toshio Kuratomi 6d76cb40c5 Transform the command we pass to subprocess into a byte string in _low_level-exec_command 9 years ago
James Cammarata b0e7ea78af Actually disable parallel makes for integration runner 9 years ago
Toshio Kuratomi 6a0d2116b8 Delete new_inventory from stable-2.0 as it isn't used there.
leaving in devel for now as some people are planning on using it as
a starting place to update inventory in 2.1
9 years ago
James Cammarata 37908735d4 Dropping instance size back down since we're not doing parallel builds 9 years ago
James Cammarata c0248873da Integration test runner tweaks 9 years ago
James Cammarata 75695f5c70 Kick up the integration runner test image size 9 years ago
James Cammarata 0a6bc57fa5 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
Yannig Perré 1d18964daa Merge role params into variables separately from other variables
Fixes #13617
9 years ago
Branko Majic 8eb3963cd9 Adding documentation for the 'dig' lookup (#13126). 9 years ago
Brian Coca c605cd37f6 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 e1698fb4bf role search path clarified 9 years ago
James Cammarata 81f09f3fbd Disable docker test for Fedora, due to broken packaging 9 years ago
James Cammarata b77d834239 Uncomment docker test for stable-2.0 9 years ago
James Cammarata 7607e55a5a Save output of integration test results to files we can archive 9 years ago
James Cammarata d512717cd2 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
Matt Clay ce17557b84 Fixed import typo for memcache module in tests.
The typo caused the test for the memcached cache plugin to be skipped
even when the necessary memcache python module was installed.
9 years ago
Toshio Kuratomi 80e109e1ad And change the task a little more since different shlex versions are handling the quotes differently 9 years ago
Toshio Kuratomi fdc562e3c3 Fix test playbook syntax 9 years ago
Toshio Kuratomi 1dcfd7ba02 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
James Cammarata 9cfa2d7e28 Fixing bugs in conditional testing with until and some integration runner tweaks 9 years ago
Toshio Kuratomi 5bd01c09d6 Troubleshooting has reduced us to this 9 years ago
Toshio Kuratomi 61bd0e1310 Fix the fedora host detection 9 years ago
Toshio Kuratomi bb1047c483 What is going on here 9 years ago
James Cammarata c2a29a01a2 Removing update all for test deps, it didn't fix the problem 9 years ago
James Cammarata 6a1ebaa1bc Fix typo in integration test runner role 9 years ago
Toshio Kuratomi 1d1a04008e Update mysql setup to handle installing mysql with dnf too. 9 years ago
James Cammarata 1cde02058f Make integration tests run in parallel with async 9 years ago
Toshio Kuratomi 48675550bf 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 3955ea5a8a Fixes for tests that assumed yum as package manager for systems that
have dnf
9 years ago
Toshio Kuratomi 454c8ff5b8 Switch from yum to package when installing sudo so that dnf is handled as well 9 years ago
Toshio Kuratomi ba0b4afb6b Revert "removed invocation info as it is not no_log aware"
This reverts commit 6127a8585e.
9 years ago
Toshio Kuratomi 76507bd567 Make return invocation information so that our sanitized copy will take precedence over what the executor knows. 9 years ago
Toshio Kuratomi d2bf615780 Fix unittests for return of invocation from fail_json and exit_json 9 years ago
Brian Coca 3840fb267c corrected service detection in docker versions
now if 1 == bash it falls back into tool detection
9 years ago
Toshio Kuratomi fbccfc8b61 Add package module to squash list 9 years ago
Toshio Kuratomi 2d179b376b Remove args from get_name() as we can't tell if any of the args are no_log 9 years ago
Toshio Kuratomi a0add9dda5 Comment to explain why we strip _ansible_notify specially 9 years ago
Toshio Kuratomi de9517dcc8 Also need redhat-rpm-config to compile pycrypto 9 years ago
Toshio Kuratomi bef2b70eae Make sure that yum is present on redhat family systems (makes things also work on fedora systems where dnf is the default) 9 years ago
Brian Coca df08ba37fe removed invocation info as it is not no_log aware
This was added in 1.9 and 2.0 tried to copy, but since it cannot
obey no_log restrictions I commented it out. I did not remove as
it is still very useful for module invocation debugging.
9 years ago
Toshio Kuratomi 6dc42e376f update submodule refs 9 years ago