Michel Blanc
d03954a24b
Update playbooks2.rst
...
Added doc on encrypt capability of vars_prompt.
Assuming the example in https://github.com/ansible/ansible/blob/devel/examples/playbooks/prompts.yml is still valid.
2013-03-05 16:26:24 +01:00
Daniel Hokka Zakrisson
e2c1b34dbb
Remove webdocs from docs
...
No reason to build the website for RPMs/DEBs, adding dependency on
Sphinx.
2013-03-05 13:05:00 +01:00
Daniel Hokka Zakrisson
51d7c120e1
Merge pull request #2300 from johanwiren/gemdocs
...
Corrected formatting in docs for the gem-module
2013-03-05 03:59:43 -08:00
Johan Wirén
e53826b088
Corrected formatting in docs for the gem-module
2013-03-05 12:28:04 +01:00
Dag Wieers
59912b47be
Allow 'make rpm' without the need for env-setup
...
As it used to be before, 'make rpm' from a cloned repository should work without the need to run hacking/env-setup. It's an easy fix, in line with what we already did for the man-pages.
2013-03-05 11:12:00 +01:00
Junegunn Choi
7f556d8939
should always download when force is set
2013-03-05 11:39:50 +09:00
Maykel Moya
ee7f8d018e
file module should check invalid arguments ( fixes #2135 )
2013-03-04 12:55:18 +01:00
Daniel Hokka Zakrisson
1784fd80cc
When a host list is used, no parser is present
2013-03-04 12:37:15 +01:00
Grant Gavares
cd51c7f234
Add socket timeout to uri module.
...
The uri module can be configured to abort after a specified timeout if
it cannot connect to the configured uri. This prevents a uri action from
hanging indefinitely when the remote endpoint cannot be reached because
it is unavailable, there is a firewall in place etc. The default behavior
is left unchanged: timeout=None
This change also introduces a new type for module_parameters: int
Code was added to perform conversion from string -> int type in
module_common.py.
The new type was required in order to play nice with httplib2 which
refuses to accept (and convert) anything other than a numeric type for
the timeout value.
2013-03-02 17:34:23 -08:00
Patrik Lundin
f485eb28f5
Teach setup about OpenBSD package manager.
...
* We cannot depend on the path because FreeBSD for example uses the same path.
2013-03-03 00:02:50 +01:00
Patrik Lundin
eb6398f168
Add openbsd_pkg: package management for OpenBSD.
...
* Code influenced by the service module but without classes.
* Thanks to @dhozac for input and review.
* Thanks to @johanwiren for getting me to push this out the door.
2013-03-03 00:01:02 +01:00
Daniel Hokka Zakrisson
b130716b61
YAML requires quoting the entire value when it starts with a quote
...
Fixes #2280 .
2013-03-02 21:35:51 +01:00
Yves Dorfsman
c9a201eb43
fixed typos
2013-03-02 12:12:25 -07:00
Yves Dorfsman
377351f6fd
Clarified that proxy can be changed via an variable.
2013-03-02 11:42:49 -07:00
Yves Dorfsman
e45a0fd61d
Added a fail_on_missing option to fetch.
2013-03-02 11:04:48 -07:00
Michael DeHaan
de09e9dade
Update doc reference to clarify that $item isn't expanded here.
2013-03-02 11:47:43 -05:00
Michael DeHaan
6ad390a92b
Revert "Revert "for #2196 now gruopby module invalidates host cached variables so they can be reevaluated with new groups""
...
This reverts commit dc0515a88a
.
We didn't need to revert this :)
2013-03-02 10:38:51 -05:00
Daniel Hokka Zakrisson
5d82b4b1b7
group_by needs the untemplated module_args
2013-03-02 16:30:30 +01:00
Michael DeHaan
dc0515a88a
Revert "for #2196 now gruopby module invalidates host cached variables so they can be reevaluated with new groups"
...
This reverts commit 2d86671aa5
.
2013-03-02 10:21:36 -05:00
Jimmy Tang
785068df63
Teach makefile to accept different versions of python
...
This commit makes the Makefile nicer for packagers so they can select versions
of python. E.g. on a RHEL5 system with Python2.6 (installed from EPEL)
make PYTHON=python2.6 install
2013-03-02 14:38:02 +00:00
Daniel Hokka Zakrisson
43ce2caa4f
Fix parse_kv invocation in group_by to use imported name
...
Fixes #2277 .
2013-03-02 15:18:16 +01:00
Daniel Hokka Zakrisson
622b8dfe32
Merge pull request #2271 from MWGriffin/patch-1
...
Update get_url
2013-03-02 01:40:31 -08:00
Daniel Hokka Zakrisson
2ff2f05a0f
host.get_variables includes too many variables, use host.vars instead
...
Not quite as attractive, but allows variable precedence and lazy
resolution to work as intended, rather than resolving them on a
per-inventory basis.
2013-03-02 10:26:26 +01:00
Daniel Hokka Zakrisson
8f917a5a9f
slurp: import base64 as module_common no longer does
2013-03-02 10:26:09 +01:00
Jimmy Tang
7653c4ac6c
Start of more OSX facts for setup
...
Added a Darwin family, commit acc1c004
had added some network facts
but weren't being shown as the Darwin family wasn't in use. This commit
reveals these facts.
A Darwin(Hardware) class has also been created ready to be populated with
hardware facts.
2013-03-02 08:13:38 +00:00
Yves Dorfsman
3270a0adcd
Added a use_proxy option to get_url.
2013-03-02 00:30:28 -07:00
Michael Griffin
5bfd648dc8
Update get_url
...
Small syntactic correction: Removed trailing double-quote from example.
2013-03-01 22:49:00 -08:00
Seth Vidal
677dcc56ae
add (un)silence_nagios and command actions to the nagios module
...
also fix a typo with the check_mode check
2013-03-02 01:48:39 -05:00
Michael DeHaan
6d41983173
Update changelog to include recent modifications.
2013-03-02 00:01:43 -05:00
Michael DeHaan
6ecdef6b88
Type checking on library/apt means the upgrade parameter is now properly True/False
2013-03-01 23:34:27 -05:00
Michael DeHaan
38bd17af22
Restore authors file
2013-03-01 21:41:42 -05:00
Michael DeHaan
0b4ad2749a
Increase error handling in the unlikely case of failing to establish a connection.
2013-03-01 21:39:50 -05:00
Michael DeHaan
4132f8953e
Fixup the rabbitmq YAML documentation so we can generate docs for it.
2013-03-01 19:47:43 -05:00
Michael DeHaan
5fd807ac64
Merge pull request #2262 from bcoca/json_nice_error
...
now ansible shows nice message about missing json instead of traceback
2013-03-01 16:39:45 -08:00
Michael DeHaan
125015eaa5
Merge pull request #2263 from bcoca/moduledev_noremove
...
Added tip about ANSIBLE_KEEP_REMOTE_FILES to docsite
2013-03-01 16:39:20 -08:00
Brian Coca
372b60a5f7
Added tip about ANSIBLE_KEEP_REMOTE_FILES to docsite
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-01 19:13:37 -05:00
Brian Coca
46c913f7a6
now ansible shows nice message about missing json instead of traceback
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-01 19:03:59 -05:00
Michael DeHaan
7ac5e462ef
Fixed a small buglet, if using with_items with yum and so on, only optimize the package list if the package list is all strings
2013-03-01 18:32:32 -05:00
Michael DeHaan
129e0b8baf
Log tracebacks to syslog when using fireball mode.
2013-03-01 18:24:48 -05:00
Seth Vidal
804b130288
check if the term is a dict so we can take a simple list of files (like first_available_file) takes
2013-03-01 18:18:56 -05:00
Michael DeHaan
b6f7a22de5
Merge pull request #2261 from bcoca/groupby_2186
...
now group by module invalidates host cached variables
2013-03-01 15:16:47 -08:00
Brian Coca
2d86671aa5
for #2196 now gruopby module invalidates host cached variables so they can be reevaluated with new groups
...
Signed-off-by: Brian Coca <bcoca@tablethotels.com>
2013-03-01 18:00:34 -05:00
Michael DeHaan
f9824838c3
Merge pull request #2251 from chrishoffman/rabbitmq
...
Rabbitmq parameters module
2013-03-01 14:58:39 -08:00
Michael DeHaan
6ebf16bf33
Some very minor stylistic tweaks to the gem module.
2013-03-01 17:55:13 -05:00
Michael DeHaan
64c1cc3efd
Merge branch 'gem' of git://github.com/johanwiren/ansible into devel
2013-03-01 17:46:12 -05:00
Michael DeHaan
839dff8eae
Disable filter test for now since it should really be testing at a lower level.
2013-03-01 17:42:14 -05:00
Michael DeHaan
9cf5306610
Merge branch 'directory-inventory' of git://github.com/dhozac/ansible into devel
2013-03-01 17:39:15 -05:00
Michael DeHaan
66a596dd5d
fix MySQL user doc formatting issue
2013-03-01 17:38:14 -05:00
Michael DeHaan
ff58623f8b
Fix apt module documentation formatting.
2013-03-01 17:38:14 -05:00
Michael DeHaan
d04c4ef0c7
Merge pull request #2249 from jcftang/devel
...
Use opkg module as basis for macports module
2013-03-01 14:37:32 -08:00