Commit Graph

17449 Commits (3d608ef9fa63b7a47e1e4527e2b719cb7dec1bb2)
 

Author SHA1 Message Date
Brian Coca 3d608ef9fa simplified diff handling in callback
no need for the copy or other complexity
10 years ago
Brian Coca c14e099dd7 now handles 'non file diffs'
this allows modules to pass back a 'diff' dict and it will still show using the file interface
10 years ago
Toshio Kuratomi 7e318e8398 Update extras submodule ref 10 years ago
Toshio Kuratomi add2e9cbd1 Fix problems with non-ascii values passed as part of the command to connection plugins
@drybjed discovered this with non-ascii environment variables and
command line arguments to script and raw module.
10 years ago
Abhijit Menon-Sen 9f93c9c84b Clean up debug logging around _low_level_execute_command
We were logging the command to be executed many times, which made debug
logs very hard to read. Now we do it only once.

Also makes the logged ssh command line cut-and-paste-able (the lack of
which has confused a number of people by now; the problem being that we
pass the command as a single argument to execve(), so it doesn't need an
extra level of quoting as it does when you try to run it by hand).
10 years ago
nitzmahone b4e0b5503c move core submodule pointer 10 years ago
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.
10 years ago
Yannig Perré 021ed1aa8b Replace to_string by to_unicode.
Fix https://github.com/ansible/ansible/issues/13707
10 years ago
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
10 years ago
Brian Coca f7ea8b32a9 minor fix to become docs 10 years ago
Stephen Medina ba7d2db8ad clarify idempotence explanation
Small typo; wasn't sure what to replace it with.
10 years ago
Brian Coca b50ed10a84 updated release cycle to 4 months instead of 2 10 years ago
Toshio Kuratomi b4fae25a96 CHANGELOG entry for bigip* validate_certs change 10 years ago
Toshio Kuratomi 6142736946 Oops, core needs to stay on stable-2.0 10 years ago
Toshio Kuratomi 25fc4217df Update submodule refs 10 years ago
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
10 years ago
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.
10 years ago
Toshio Kuratomi ebd3b35d02 Update submodule refs 10 years ago
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.
10 years ago
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.
10 years ago
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.
10 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
10 years ago
Brian Coca 2786908bac fixed tests to follow new invocation structure
also added maxdiff setting to see issues clearly when they happen
10 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
10 years ago
Brian Coca 579a2ff739 fix no_log disclosure when using aliases 10 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
10 years ago
Yannig Perré 725e40c5e6 Fix make tests-py3 on devel. Fix for https://github.com/ansible/ansible/issues/13638. 10 years ago
Monty Taylor 8216a659fa Also convert ints to bool for type=bool 10 years ago
James Cammarata a2120a3d63 Version bump for 2.0.0-0.8.rc3 10 years ago
Toshio Kuratomi 6d76cb40c5 Transform the command we pass to subprocess into a byte string in _low_level-exec_command 10 years ago
James Cammarata b0e7ea78af Actually disable parallel makes for integration runner 10 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
10 years ago
James Cammarata 37908735d4 Dropping instance size back down since we're not doing parallel builds 10 years ago
James Cammarata c0248873da Integration test runner tweaks 10 years ago
James Cammarata 75695f5c70 Kick up the integration runner test image size 10 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
10 years ago
Yannig Perré 1d18964daa Merge role params into variables separately from other variables
Fixes #13617
10 years ago
Branko Majic 8eb3963cd9 Adding documentation for the 'dig' lookup (#13126). 10 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
10 years ago
Brian Coca e1698fb4bf role search path clarified 10 years ago
James Cammarata 81f09f3fbd Disable docker test for Fedora, due to broken packaging 10 years ago
James Cammarata b77d834239 Uncomment docker test for stable-2.0 10 years ago
James Cammarata 7607e55a5a Save output of integration test results to files we can archive 10 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
10 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.
10 years ago
Toshio Kuratomi 80e109e1ad And change the task a little more since different shlex versions are handling the quotes differently 10 years ago
Toshio Kuratomi fdc562e3c3 Fix test playbook syntax 10 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 10 years ago
James Cammarata 9cfa2d7e28 Fixing bugs in conditional testing with until and some integration runner tweaks 10 years ago
Toshio Kuratomi 5bd01c09d6 Troubleshooting has reduced us to this 10 years ago