Commit graph

13133 commits

Author SHA1 Message Date
Michael Scherer
9b8a55032d Do not use the variable name as a key for the result of the module
Using the variable name can interfere with various systems
used to communicate between modules and ansible ( as
reported in #7732 , where ansible_facts is a reserved key for
updating the fact cache, for example ).
2014-12-14 19:27:17 +01:00
Michael Scherer
caefc20f16 Use --version to see if less can be executed
(less) 2> /dev/null would fail if stdin is /dev/null.
Sinceless --version do not read anything from stdin,
it is perfect for seeing if the software exist or not.

Also replace the whole os system detection by directly
using subprocess ( as we use it elsewhere, we already
depend on it ).
2014-12-14 18:09:42 +01:00
Michael Scherer
f7ac012301 Do not assume that stdin is a tty
This can be used from another non interactive software, see #9695
for details.
2014-12-14 17:56:18 +01:00
Jason Holland
eedc51f213 Add support for SSL protocol version configuration option. Also fix 2 places where the SSL version was not being set properly. 2014-12-13 21:20:33 -06:00
Jason Holland
38dbce1527 Allow Ansible to honor the "no_proxy" environment varaible. 2014-12-13 21:12:23 -06:00
Michael Scherer
b84fba4439 Strip the line to filter lines composed of only whitespaces
Fix #9395
2014-12-13 20:56:06 +01:00
Jonathan Mainguy
5cd4ac16f7 Added distribution facts for OpenSuse 2014-12-12 15:58:17 -05:00
Toshio Kuratomi
12968acd5f Update the core modules to pull in some fixes 2014-12-12 12:09:34 -08:00
Brian Coca
215359084b Merge pull request #9375 from mantiz/fix-osfamily-and-distribution-on-archlinux
Fix os_family and distribution on archlinux
2014-12-12 14:28:38 -05:00
Toshio Kuratomi
d3c9eda15b Merge pull request #9793 from nremond/devel
Variables lookup in a template should handle properly the undefined case
2014-12-12 10:50:47 -08:00
Nicolas Rémond
3cf0c09ce9 Variables lookup in a template should handle properly the undefined case 2014-12-12 12:11:17 +01:00
Brian Coca
f88e2e1f01 Merge pull request #9778 from heydonovan/fix-typo-maintaining
Fix typo for the word "maintaining"
2014-12-11 08:55:35 -05:00
Donovan Hernandez
a1a6b8dfbb Fix typo for the word "maintaining" 2014-12-11 02:10:44 -06:00
Brian Coca
1408a01498 Merge pull request #9764 from bcoca/moar_tests
Moar tests
2014-12-11 01:03:54 -05:00
Brian Coca
d36d76c7eb Merge pull request #9775 from tgerla/docsfix
fix up formatting for code sections in guide_aws
2014-12-11 00:26:50 -05:00
Tim Gerla
23405b60cb fix up formatting for one code section in guide_aws 2014-12-10 19:04:02 -08:00
Toshio Kuratomi
a0ff0f8198 And the encoding needs to be latin1 for this test 2014-12-10 14:51:02 -08:00
Toshio Kuratomi
367a361a70 Correct the command name on RHT Systems 2014-12-10 14:40:10 -08:00
Toshio Kuratomi
2dd0e51469 Possible fix for postgres setup on F21 cloud image 2014-12-10 14:25:40 -08:00
jszwedko
462471209e Allow retries to be templatable
Fixes #5865
2014-12-10 16:54:58 -05:00
Toshio Kuratomi
ac71caa0ac Quote debug msgs and find one more wierd bug to test in v2 2014-12-10 11:50:48 -08:00
Toshio Kuratomi
65be0eefcf Enable all the binary tests inside of the role.
They're not being run by default so make sure they're ready to show
errors when we turn them on for v2
2014-12-10 11:40:33 -08:00
Toshio Kuratomi
37d1b3f1cf New test that binary contenti.
(and a few unicode tests because they make clearer what we're testing)
works.  disabled for now since they mostly do not pass on 1.8.  We'll
want to enable them when we start integration testing the v2 tree.
2014-12-10 11:37:32 -08:00
Toshio Kuratomi
2d266ce401 Update core submodule for docs fix 2014-12-10 11:22:40 -08:00
Brian Coca
21bb12ee84 updated refs to module repos 2014-12-10 14:06:48 -05:00
Brian Coca
d2900fadce Merge pull request #9769 from mikeputnam/devel
Typo fix in playbook delegation docs.
2014-12-10 13:40:49 -05:00
Mike Putnam
09ef8f5722 Typo fix in playbook delegation docs. 2014-12-10 12:13:31 -06:00
Brian Coca
859dd79048 Merge pull request #9768 from mikeputnam/devel
Typo fix
2014-12-10 13:06:41 -05:00
Mike Putnam
e507a79b96 Typo fix 2014-12-10 11:41:31 -06:00
Brian Coca
0ce5d2c846 added complex bare templated conditional test 2014-12-10 09:21:49 -05:00
Toshio Kuratomi
b6c3670f8a Mark some inventory methods that I'm thinking should go away (and their
replacements)
2014-12-09 13:52:47 -06:00
Toshio Kuratomi
b4dfcc2d28 Start laying out how the pieces of code that parse inventory information into ansible will work 2014-12-09 13:52:42 -06:00
Toshio Kuratomi
bdf42104cd Add some more comments from jimi-c and mpdehaan 2014-12-09 13:52:39 -06:00
Toshio Kuratomi
74f48ed79d Inventory with docstrings and notes on how to change 2014-12-09 13:52:35 -06:00
Toshio Kuratomi
fa51e8f36d Document the --offline parameter to galaxy init
Fixes #9758
2014-12-09 10:50:10 -08:00
Toshio Kuratomi
12e1884352 Merge pull request #9755 from armetiz/docs_format
Add missing connection and header
2014-12-09 09:54:41 -08:00
Toshio Kuratomi
ff970eabd8 Add role vars to differentiate with role defaults 2014-12-09 09:51:51 -08:00
Toshio Kuratomi
5a9e4408df Merge pull request #9751 from lorin/doc-async
Docfix: checking a background task
2014-12-09 09:23:43 -08:00
Toshio Kuratomi
c16b83af14 Updat ecore to pull in new git module fixes 2014-12-09 09:09:29 -08:00
Brian Coca
58be1b049e added tests for templating and with_items 2014-12-09 11:31:21 -05:00
Toshio Kuratomi
35cfeefdc1 Update core modules 2014-12-09 08:03:07 -08:00
Toshio Kuratomi
55cb55d67a Update the extras submodules to latest 2014-12-09 08:01:31 -08:00
Thomas Tourlourat
050a2dc919 Add missing connection and header 2014-12-09 14:28:57 +01:00
Lorin Hochstein
c4d5e9195b Docfix: checking a background task
Minor changes to wording on how to check a background task with async_status.

Fixes #9740
2014-12-08 21:52:03 -05:00
Brian Coca
c725aa5e47 updated submodule refs 2014-12-08 17:28:30 -05:00
Michael DeHaan
5890876d72 Merge pull request #9737 from lorin/doc-nopoll
Docfix: running background tasks without polling
2014-12-08 14:04:19 -08:00
Michael DeHaan
d4da58e102 Merge pull request #9720 from vlajos/typofixes-vlajos-20141204
typofixes - https://github.com/vlajos/misspell_fixer
2014-12-08 14:00:52 -08:00
Toshio Kuratomi
8d6ea38ee0 Disable automatic running of test_delegate_to with an explanation of what it would take to set this up in our automated test systems 2014-12-08 13:39:01 -08:00
Toshio Kuratomi
3a5aec9743 file does not exist is not an error when checksumming for the template modules 2014-12-08 13:08:26 -08:00
Toshio Kuratomi
f2d2f425ae Fix comment 2014-12-08 13:07:34 -08:00