Commit graph

17443 commits

Author SHA1 Message Date
Michael Scherer
5536ddd118 Do not set 'changed' to True when using group_by
Since group_by is not changing in any way to the remote
system, there is no change. This also make things more consistent
with the set_fact plugin.
2016-01-04 16:23:25 -05:00
Yannig Perré
021ed1aa8b Replace to_string by to_unicode.
Fix https://github.com/ansible/ansible/issues/13707
2016-01-01 08:18:18 -08:00
Brian Coca
a703f3a6d2 added newer vars to 'reset_vars'
these vars pass back info to the task about the connection
moved to their own block at start at file for readability and
added the newer standard vars
2015-12-28 12:50:04 -05:00
Brian Coca
f7ea8b32a9 minor fix to become docs 2015-12-28 10:25:35 -05:00
Stephen Medina
ba7d2db8ad clarify idempotence explanation
Small typo; wasn't sure what to replace it with.
2015-12-28 10:24:55 -05:00
Brian Coca
b50ed10a84 updated release cycle to 4 months instead of 2 2015-12-27 14:17:58 -05:00
Toshio Kuratomi
b4fae25a96 CHANGELOG entry for bigip* validate_certs change 2015-12-25 12:24:19 -08:00
Toshio Kuratomi
6142736946 Oops, core needs to stay on stable-2.0 2015-12-25 12:16:18 -08:00
Toshio Kuratomi
25fc4217df Update submodule refs 2015-12-25 12:15:49 -08:00
Toshio Kuratomi
d71e8fb870 bigip changes as requested by bcoca and abadger:
* Fix to error if validate_cert is True and python doesn't support it.
* Only globally disable certificate checking if really needed.  Use
  bigip verify parameter if available instead.
* Remove public disable certificate function to make it less likely
  people will attempt to reuse that
2015-12-25 12:15:24 -08:00
Rene Moser
369ed9feed 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.
2015-12-23 17:48:49 -08:00
Toshio Kuratomi
ebd3b35d02 Update submodule refs 2015-12-23 14:29:36 -08:00
Toshio Kuratomi
82df9041e7 Going to do this in the connection plugin
Revert "Transform the command we pass to subprocess into a byte string in _low_level-exec_command"

This reverts commit 6d76cb40c5.
2015-12-23 13:28:42 -08:00
Toshio Kuratomi
dd59fc176e Going to do this in the connection plugin
Revert "Fix make tests-py3 on devel. Fix for https://github.com/ansible/ansible/issues/13638."

This reverts commit 725e40c5e6.
2015-12-23 13:28:42 -08:00
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.
2015-12-23 13:28:42 -08:00
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
2015-12-23 15:15:58 -05:00
Brian Coca
2786908bac fixed tests to follow new invocation structure
also added maxdiff setting to see issues clearly when they happen
2015-12-23 11:45:50 -05:00
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
2015-12-23 10:59:01 -05:00
Brian Coca
579a2ff739 fix no_log disclosure when using aliases 2015-12-22 17:17:06 -05:00
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
2015-12-22 08:33:36 -08:00
Yannig Perré
725e40c5e6 Fix make tests-py3 on devel. Fix for https://github.com/ansible/ansible/issues/13638. 2015-12-22 08:33:36 -08:00
Monty Taylor
8216a659fa Also convert ints to bool for type=bool 2015-12-22 10:25:25 -05:00
James Cammarata
a2120a3d63 Version bump for 2.0.0-0.8.rc3 2015-12-21 17:59:27 -05:00
Toshio Kuratomi
6d76cb40c5 Transform the command we pass to subprocess into a byte string in _low_level-exec_command 2015-12-21 13:55:06 -08:00
James Cammarata
b0e7ea78af Actually disable parallel makes for integration runner 2015-12-21 16:12:27 -05:00
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
2015-12-21 13:11:16 -08:00
James Cammarata
37908735d4 Dropping instance size back down since we're not doing parallel builds 2015-12-21 15:55:16 -05:00
James Cammarata
c0248873da Integration test runner tweaks 2015-12-21 15:53:19 -05:00
James Cammarata
75695f5c70 Kick up the integration runner test image size 2015-12-21 15:53:19 -05:00
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
2015-12-21 14:09:02 -05:00
Yannig Perré
1d18964daa Merge role params into variables separately from other variables
Fixes #13617
2015-12-21 13:55:17 -05:00
Branko Majic
8eb3963cd9 Adding documentation for the 'dig' lookup (#13126). 2015-12-21 13:49:49 -05:00
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
2015-12-21 13:42:47 -05:00
Brian Coca
e1698fb4bf role search path clarified 2015-12-21 13:16:48 -05:00
James Cammarata
81f09f3fbd Disable docker test for Fedora, due to broken packaging 2015-12-21 10:58:49 -05:00
James Cammarata
b77d834239 Uncomment docker test for stable-2.0 2015-12-21 10:58:35 -05:00
James Cammarata
7607e55a5a Save output of integration test results to files we can archive 2015-12-21 10:58:02 -05:00
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
2015-12-21 10:57:24 -05:00
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.
2015-12-21 10:27:36 -05:00
Toshio Kuratomi
80e109e1ad And change the task a little more since different shlex versions are handling the quotes differently 2015-12-20 11:52:50 -08:00
Toshio Kuratomi
fdc562e3c3 Fix test playbook syntax 2015-12-20 11:47:17 -08:00
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 2015-12-20 11:38:54 -08:00
James Cammarata
9cfa2d7e28 Fixing bugs in conditional testing with until and some integration runner tweaks 2015-12-20 12:45:33 -05:00
Toshio Kuratomi
5bd01c09d6 Troubleshooting has reduced us to this 2015-12-20 12:45:28 -05:00
Toshio Kuratomi
61bd0e1310 Fix the fedora host detection 2015-12-20 12:45:09 -05:00
Toshio Kuratomi
bb1047c483 What is going on here 2015-12-20 12:45:03 -05:00
James Cammarata
c2a29a01a2 Removing update all for test deps, it didn't fix the problem 2015-12-20 12:44:20 -05:00
James Cammarata
6a1ebaa1bc Fix typo in integration test runner role 2015-12-20 12:44:10 -05:00
Toshio Kuratomi
1d1a04008e Update mysql setup to handle installing mysql with dnf too. 2015-12-20 12:43:47 -05:00
James Cammarata
1cde02058f Make integration tests run in parallel with async 2015-12-20 12:41:53 -05:00