Commit Graph

4279 Commits (b2c8ed9cc2916293f61369e21eac8d2bfd859518)
 

Author SHA1 Message Date
Johan Wirén e53826b088 Corrected formatting in docs for the gem-module 12 years ago
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.
12 years ago
Junegunn Choi 7f556d8939 should always download when force is set 12 years ago
Daniel Hokka Zakrisson 1784fd80cc When a host list is used, no parser is present 12 years ago
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.
12 years ago
Patrik Lundin f485eb28f5 Teach setup about OpenBSD package manager.
* We cannot depend on the path because FreeBSD for example uses the same path.
12 years ago
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.
12 years ago
Daniel Hokka Zakrisson b130716b61 YAML requires quoting the entire value when it starts with a quote
Fixes #2280.
12 years ago
Yves Dorfsman c9a201eb43 fixed typos 12 years ago
Yves Dorfsman 377351f6fd Clarified that proxy can be changed via an variable. 12 years ago
Yves Dorfsman e45a0fd61d Added a fail_on_missing option to fetch. 12 years ago
Michael DeHaan de09e9dade Update doc reference to clarify that $item isn't expanded here. 12 years ago
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 :)
12 years ago
Daniel Hokka Zakrisson 5d82b4b1b7 group_by needs the untemplated module_args 12 years ago
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.
12 years ago
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
12 years ago
Daniel Hokka Zakrisson 43ce2caa4f Fix parse_kv invocation in group_by to use imported name
Fixes #2277.
12 years ago
Daniel Hokka Zakrisson 622b8dfe32 Merge pull request #2271 from MWGriffin/patch-1
Update get_url
12 years ago
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.
12 years ago
Daniel Hokka Zakrisson 8f917a5a9f slurp: import base64 as module_common no longer does 12 years ago
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.
12 years ago
Yves Dorfsman 3270a0adcd Added a use_proxy option to get_url. 12 years ago
Michael Griffin 5bfd648dc8 Update get_url
Small syntactic correction: Removed trailing double-quote from example.
12 years ago
Michael DeHaan 6d41983173 Update changelog to include recent modifications. 12 years ago
Michael DeHaan 6ecdef6b88 Type checking on library/apt means the upgrade parameter is now properly True/False 12 years ago
Michael DeHaan 38bd17af22 Restore authors file 12 years ago
Michael DeHaan 0b4ad2749a Increase error handling in the unlikely case of failing to establish a connection. 12 years ago
Michael DeHaan 4132f8953e Fixup the rabbitmq YAML documentation so we can generate docs for it. 12 years ago
Michael DeHaan 5fd807ac64 Merge pull request #2262 from bcoca/json_nice_error
now ansible shows nice message about missing json instead of traceback
12 years ago
Michael DeHaan 125015eaa5 Merge pull request #2263 from bcoca/moduledev_noremove
Added tip about ANSIBLE_KEEP_REMOTE_FILES to docsite
12 years ago
Brian Coca 372b60a5f7 Added tip about ANSIBLE_KEEP_REMOTE_FILES to docsite
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Brian Coca 46c913f7a6 now ansible shows nice message about missing json instead of traceback
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
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 12 years ago
Michael DeHaan 129e0b8baf Log tracebacks to syslog when using fireball mode. 12 years ago
Seth Vidal 804b130288 check if the term is a dict so we can take a simple list of files (like first_available_file) takes 12 years ago
Michael DeHaan b6f7a22de5 Merge pull request #2261 from bcoca/groupby_2186
now group by module invalidates host cached variables
12 years ago
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>
12 years ago
Michael DeHaan f9824838c3 Merge pull request #2251 from chrishoffman/rabbitmq
Rabbitmq parameters module
12 years ago
Michael DeHaan 6ebf16bf33 Some very minor stylistic tweaks to the gem module. 12 years ago
Michael DeHaan 64c1cc3efd Merge branch 'gem' of git://github.com/johanwiren/ansible into devel 12 years ago
Michael DeHaan 839dff8eae Disable filter test for now since it should really be testing at a lower level. 12 years ago
Michael DeHaan 9cf5306610 Merge branch 'directory-inventory' of git://github.com/dhozac/ansible into devel 12 years ago
Michael DeHaan 66a596dd5d fix MySQL user doc formatting issue 12 years ago
Michael DeHaan ff58623f8b Fix apt module documentation formatting. 12 years ago
Michael DeHaan d04c4ef0c7 Merge pull request #2249 from jcftang/devel
Use opkg module as basis for macports module
12 years ago
Michael DeHaan 2994ec022d Merge pull request #2242 from jmandel/devel
Allow relative creates/removes path with `chdir`
12 years ago
Daniel Hokka Zakrisson 1f8805d9e0 Add some tests for directory-based inventory 12 years ago
Seth Vidal dfad94078b first_found lookup_plugin - replaces first_available_file
- useful in tasks/playbook inclusion
- task-specific inclusion

allows searching paths and files
12 years ago
Daniel Hokka Zakrisson f1eb195ff5 vars_loader should get the path to the inventory + vars_plugins 12 years ago
Daniel Hokka Zakrisson ad08995989 Make inventory basedir for directory based inventory be the directory
This puts host_vars and group_vars inside of the directory, allowing you
to target a single inventory but still have access to the variables.
12 years ago