Commit graph

17443 commits

Author SHA1 Message Date
Toshio Kuratomi
64737c80f9 Update submodule refs 2015-12-17 10:21:50 -08:00
Brian Coca
5e9d182229 changed test to use filter for accurate reporting 2015-12-17 12:28:17 -05:00
James Cammarata
1f7ed5d8ee Fix handling of environment inheritence, and template each inherited env
Environments were not being templated individually, so a variable environment
value was causing the exception regarding dicts to be hit. Also, environments
as inherited were coming through with the tasks listed first, followed by the
parents, so they were being merged backwards. Reversing the list of environments
fixed this.
2015-12-17 09:46:41 -05:00
James Cammarata
f41dd578b3 Make sure we're using the original host when processing include results
Also fixes a bug where we were passing an incorrect number of parameters to
_do_handler_run() when processing an include file in a handler task/block.

Fixes #13560
2015-12-16 19:13:03 -05:00
James Cammarata
407d76b8d5 Fixing template integration test for python 2.6 versions
No longer immediately fallback to to_json if simplejson is not installed
2015-12-16 18:24:12 -05:00
Toshio Kuratomi
d2c43c421f Update core module ref for mysql_user fix 2015-12-16 14:10:00 -08:00
James Cammarata
6c509b5364 Updating the porting guide to note the complex args/bare vars change
Related to #13518
2015-12-16 16:37:55 -05:00
Brian Coca
4bce9947e5 fixed formating issues with rst 2015-12-16 16:37:55 -05:00
Toshio Kuratomi
4ad7135690 Add first draft of porting guide for 2.0 2015-12-16 16:37:55 -05:00
James Cammarata
bf9f6ce09c All variables in complex args again
Also updates the CHANGELOG to note the slight change, where bare variables
in args are no longer allowed to be bare variables

Fixes #13518
2015-12-16 16:37:55 -05:00
Brian Coca
84a6b543a9 ensure additional args are a dict
They should already be templated before hitting this point?
otherwise the class needs the task variables passed into it.
relates to #13518 and  https://groups.google.com/forum/#!msg/ansible-project/esoBcphHwHs/Ghgi_M-MCQAJ
2015-12-16 15:32:26 -05:00
chouseknecht
6cf7b792a3 Fix docs. The search command works with both galaxy.ansible.com and galaxy-qa.ansible.com. 2015-12-16 15:11:45 -05:00
chouseknecht
abec9331d8 Fixed documentation typos and bits that needed clarification. Fixed missing spaces in VALID_ACTIONS. 2015-12-16 15:11:41 -05:00
chouseknecht
ba16f2ae95 Add a section to intro_configuration for Galaxy. 2015-12-16 15:11:34 -05:00
chouseknecht
1e605d727c Define and handle ignore_certs correctly. Preserve search term order. Tweak to Galaxy docsite. 2015-12-16 15:11:30 -05:00
chouseknecht
6c48d52b4a Make sure it is clear that new commands require using the Galaxy 2.0 Beta site. 2015-12-16 15:11:26 -05:00
chouseknecht
8bb598daa2 Updated ansible-galaxy man page. Removed -b option for import. 2015-12-16 15:11:22 -05:00
chouseknecht
21edd6a5ab Fix overloaded options. Show an error when no action given. Don't show a helpful list of commands and descriptions. 2015-12-16 15:11:05 -05:00
Brian Coca
e10e03f4d9 added releases doc 2015-12-16 15:10:48 -05:00
nitzmahone
d5bdea0bab fix plugin loading for Windows modules
force plugin loader to only consider .py files, since that's the only place docs can live ATM...
2015-12-16 11:47:52 -08:00
Toshio Kuratomi
cd1bdaa61d Update submodule refs for mysql refactor 2015-12-16 11:14:39 -08:00
Jonathan Mainguy
9f69b6b585 Add shared connection code for mysql modules 2015-12-16 11:06:21 -08:00
James Cammarata
9e52a7c769 Attempt at fixing strategy unit test failures on py2.6 and py3 2015-12-16 13:57:13 -05:00
Toshio Kuratomi
8fd438000a Update url to site that has an invalid certificate 2015-12-16 09:47:56 -08:00
James Cammarata
54ce8327cb Disabling docker test for stable-2.0 due to versioning issues 2015-12-16 11:24:29 -05:00
James Cammarata
82519ab2a6 Preserve the cumulative path for checking includes which have parents
Otherwise, each relative include path is checked on its own, rather
than in relation to the (possibly relative) path of its parent, meaning
includes multiple level deep may fail to find the correct (or any) file.

Fixes #13472
2015-12-16 11:23:33 -05:00
Toshio Kuratomi
5761c333a6 Update submodule ref to fix docs build 2015-12-16 08:13:54 -08:00
Toshio Kuratomi
72b852a814 Update submodule refs 2015-12-16 08:03:34 -08:00
Toshio Kuratomi
897569c1ca Conditionally create the CustomHTTPSConnection class only if we have the required baseclasses.
Fixes #11918
2015-12-16 08:02:11 -08:00
Toshio Kuratomi
8e2cb2abb2 Fixes for proxy on RHEL5 2015-12-16 08:02:03 -08:00
Toshio Kuratomi
b8d9b106de First attempt to fix https certificate errors through a proxy with python-2.7.9+
Fixes #12549
2015-12-16 08:01:56 -08:00
David
f68c0043de Fix typo 2015-12-16 10:53:10 -05:00
Brian Coca
48fb0cdecb debug now validates its params
simplified var handling
made default message the same as in pre 2.0
fixes #13532
2015-12-16 10:42:30 -05:00
James Cammarata
28602cddb0 Use the original host rather than the serialized one when processing results
Fixes #13526
Fixes #13564
Fixes #13566
2015-12-16 01:50:14 -05:00
Yannig Perré
5011d63f7e Fix a part of python 3 tests (make tests-py3, see https://github.com/ansible/ansible/issues/13553 for more details). 2015-12-15 07:57:05 -08:00
Brian Coca
5ab25e2dfe clean debug output to match prev versions 2015-12-15 09:28:39 -05:00
Brian Coca
6e1bb6c87d renamed ssh.py shared module file to clarify 2015-12-15 08:44:43 -05:00
Peter Sprygada
ac7dc6bd81 the ssh shared module will try to use keys if the password is not supplied
The current ssh shared module forces only password based authentication.  This
change will allow the ssh module to use keys if a password is not provided.
2015-12-15 08:39:17 -05:00
Michael Scherer
b6dac26224 Make module_utils.known_hosts.get_fqdn work on ipv6 2015-12-14 11:10:02 -08:00
Michael Scherer
a7a3a34987 Add tests for ansible.module_utils.known_hosts 2015-12-14 11:09:49 -08:00
Toshio Kuratomi
6df187da84 Fix for template module not creating a file that was not present when force=false 2015-12-14 10:57:34 -08:00
Monty Taylor
cf95619229 Optionally only use UUIDs for openstack hosts on duplicates
The OpenStack inventory lists hostnames as the UUIDs because hostsnames
are not guarnateed to be unique on OpenStack. However, for the common
case, this is just confusing.

The new behavior is a visible change, so make it an opt-in via config.

Only turn the hostnames to UUIDs if there are duplicate hostnames.
2015-12-14 13:27:33 -05:00
Monty Taylor
17a37844d4 Fix the refresh flag in openstack inventory
Refresh will update the dogpile cache from shade, but doesn't cause
the ansible side json cache to be invalidated. It's a simple oversight.
2015-12-14 13:27:33 -05:00
gp
0697c6e59d Fix typo in galaxy.rst
Fix typo
2015-12-14 09:15:15 -08:00
Toshio Kuratomi
66be9d06c4 Minor: Correct type pyhton => python 2015-12-14 08:51:33 -08:00
Toshio Kuratomi
62b2c9eb4e Update submodule refs 2015-12-14 08:34:49 -08:00
Jonathan Mainguy
887319f95c add tests for encrypted hash mysql_user 2015-12-14 08:02:11 -08:00
James Cammarata
fc233bf3f4 Use an octal representation that works from 2.4->3+ for known_hosts 2015-12-14 10:44:22 -05:00
James Cammarata
8dcba63022 Fixing up some non-py3 things for unit tests 2015-12-14 10:44:22 -05:00
Hans-Joachim Kliemeck
60f5fe76a1 use default settings from ansible.cfg 2015-12-14 09:19:15 -05:00