Commit graph

12795 commits

Author SHA1 Message Date
Toshio Kuratomi
c808c8a22a Fix some of the new math filters 2014-12-16 16:09:17 -08:00
Toshio Kuratomi
7ab1e52575 Merge pull request #9832 from bcoca/math_filters
math filters!
2014-12-16 15:42:22 -08:00
Brian Coca
b07ce8b942 removed redundant math functions as jinja2 provides abs() and round()
already
2014-12-16 17:57:21 -05:00
Brian Coca
6a3c26eb70 removed stray j 2014-12-16 17:49:32 -05:00
Brian Coca
7a43d40050 math filters! 2014-12-16 17:47:50 -05:00
Toshio Kuratomi
dc8207177e Merge pull request #9830 from nathancahill/vars_prompt-no-value
Fix vars_prompt no/false default values
2014-12-16 13:42:26 -08:00
Toshio Kuratomi
d09b64884f Merge pull request #9810 from mscherer/fix_7732
Do not use the variable name as a key for the result of the module
2014-12-16 13:09:06 -08:00
Toshio Kuratomi
f998e65701 Merge pull request #9809 from mscherer/fix_9695
Make sure ansible-doc work when stdin is not a tty
2014-12-16 13:02:47 -08:00
Toshio Kuratomi
828adbf788 Merge pull request #9807 from swimlappy/noproxy
Request: Honor the "no_proxy" environment variable in Ansible
2014-12-16 12:53:40 -08:00
Nathan Cahill
cc5a5978ef fix vars_prompt no/false values 2014-12-16 13:43:23 -07:00
Toshio Kuratomi
d1e27fe819 Merge pull request #9805 from mscherer/fix_9395
Strip the line to filter lines composed of only whitespaces
2014-12-16 12:42:06 -08:00
Toshio Kuratomi
b74a02301b Fix documentation syntax problems 2014-12-16 12:25:41 -08:00
Toshio Kuratomi
735c8d3c4b Update core so docs build 2014-12-16 11:51:02 -08:00
Toshio Kuratomi
07e483b0c0 Update core modules 2014-12-16 11:18:15 -08:00
Toshio Kuratomi
a5b3b59bd1 Comment remote_port in the example ansible.cfg so users do not override their .ssh/config settings by default 2014-12-16 11:09:42 -08:00
Toshio Kuratomi
fbadcfd44f Fix for not all platforms having optional libraries at the proper versions. 2014-12-16 09:20:11 -08:00
Brian Coca
27d2539fcd Merge pull request #9611 from jhawkesworth/win_copy_file_template_ansible_core_1
Add support for win_copy, win_file and win_template modules.
2014-12-16 08:59:27 -05:00
Jon Hawkesworth
e37b63386c Revised following comments from Chris Church.
Now uses sha1 checksums following merge of 9688.
Also I undid the changes I made to fetch.py
win_template.py now uses conn.shell.has_trailing_slash and
conn.shell.join_path
updated integration tests.
2014-12-16 04:47:01 +00:00
root
bf916fb58a Adding first pass at win_copy, win_file and win_template modules. 2014-12-16 04:47:01 +00:00
Brian Coca
bfe08560ec Merge pull request #9227 from cchurch/win_feature_tests
Add integration tests for win_feature
2014-12-15 20:13:52 -05:00
Chris Church
7145da7ddc Merge pull request #9824 from willempienaar/devel
Fixed error handling for the enabling of PS Remoting
2014-12-15 19:57:06 -05:00
Willem Pienaar
ac28652602 Fixed error handling for the enabling of PS Remoting 2014-12-16 02:29:13 +02:00
Brian Coca
8908f4a0ef Merge pull request #7214 from lorin/dyn-inv-doc
Document static groups of dynamic groups
2014-12-15 17:56:25 -05:00
Brian Coca
88443d6dcf Merge pull request #7306 from abadger/feature/egg-info
Feature/egg info
2014-12-15 16:26:37 -05:00
Brian Coca
bd5b28e429 Merge pull request #9440 from Jmainguy/opensuse_distro
Fixes distribution in facts for openSuSE. Used https://github.com/ansibl...
2014-12-15 11:48:41 -05:00
Jonathan Mainguy
8278626dd0 Added distribution facts for OpenSuse 2014-12-15 11:47:42 -05:00
Brian Coca
b3cd28a5f6 Merge pull request #9815 from axiaoxin/devel
members of a list must start with ``- ``
2014-12-15 09:16:51 -05:00
axiaoxin
5838812967 minor 2014-12-15 15:55:12 +08:00
axiaoxin
36eab28c7c making the whitespace expicity in dict 2014-12-15 15:53:35 +08:00
axiaoxin
c0cb4b3e08 in key/value pairs, whitespace is needed after the colon 2014-12-15 15:44:00 +08:00
axiaoxin
b9761a0692 members of a list must start with `- ` 2014-12-15 15:32:49 +08:00
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
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
Toshio Kuratomi
ac71caa0ac Quote debug msgs and find one more wierd bug to test in v2 2014-12-10 11:50:48 -08:00