Commit Graph

17460 Commits (502ad8850625c8c87fd9f05281b1ffdffe223006)
 

Author SHA1 Message Date
James Cammarata 502ad88506 New release v2.0.0-0.9.rc4 9 years ago
Toshio Kuratomi 80f0380312 Fix typo 9 years ago
Toshio Kuratomi a8f160d2fd More fixes for unicode handling in the connection plugins.
Tested that ssh, docker, local, lxc-libvirt, chroot all work with the
updated unicode integration test.
9 years ago
Brian Coca 6be48dd14c Revert "Show version without supplying a dummy action"
This reverts commit 21775d7866.
Parsing before action will fail if one of the action specific options is used
As per issue #13743
9 years ago
James Cammarata fcd074d40f Merge branch 'ktosiek-fix-playbook-hanging' into stable-2.0 9 years ago
muffl0n 21775d7866 Show version without supplying a dummy action
fixes #12004
parsing x2 does not seem to break anything
9 years ago
Abhijit Menon-Sen ab536c8aa8 Strip string terms before templating
The earlier code did call terms.strip(), but ignored the return value
instead of passing that in to templar.template(). Clearly an oversight.
9 years ago
James Cammarata 93f37f5969 Don't drop noops from task counting code in linear strategy 9 years ago
Tomasz Kontusz ec3b7b7de8 linear strategy: don't look at tasks from the next block 9 years ago
Toshio Kuratomi 7a4914aa9b Fix exception catching to be importable on python3 9 years ago
Brian Coca 9ca5da82ff 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
Brian Coca 3d608ef9fa simplified diff handling in callback
no need for the copy or other complexity
9 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
9 years ago
Toshio Kuratomi 7e318e8398 Update extras submodule ref 9 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.
9 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).
9 years ago
nitzmahone b4e0b5503c move core submodule pointer 9 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.
9 years ago
Yannig Perré 021ed1aa8b Replace to_string by to_unicode.
Fix https://github.com/ansible/ansible/issues/13707
9 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
9 years ago
Brian Coca f7ea8b32a9 minor fix to become docs 9 years ago
Stephen Medina ba7d2db8ad clarify idempotence explanation
Small typo; wasn't sure what to replace it with.
9 years ago
Brian Coca b50ed10a84 updated release cycle to 4 months instead of 2 9 years ago
Toshio Kuratomi b4fae25a96 CHANGELOG entry for bigip* validate_certs change 9 years ago
Toshio Kuratomi 6142736946 Oops, core needs to stay on stable-2.0 9 years ago
Toshio Kuratomi 25fc4217df Update submodule refs 9 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
9 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.
9 years ago
Toshio Kuratomi ebd3b35d02 Update submodule refs 9 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.
9 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.
9 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.
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