Commit graph

4220 commits

Author SHA1 Message Date
Michel Blanc
f3b06a3008 Adds crypt scheme list for vars_prompt
Added more details on encrypt usage for vars_prompt, including a list of
crypt schemes and a ling to the passlib documentation.
2013-03-05 17:19:14 +01:00
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
Daniel Hokka Zakrisson
1784fd80cc When a host list is used, no parser is present 2013-03-04 12:37:15 +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
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
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
Michael Griffin
5bfd648dc8 Update get_url
Small syntactic correction: Removed trailing double-quote from example.
2013-03-01 22:49:00 -08: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
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
Michael DeHaan
2994ec022d Merge pull request #2242 from jmandel/devel
Allow relative creates/removes path with `chdir`
2013-03-01 14:35:42 -08:00
Daniel Hokka Zakrisson
1f8805d9e0 Add some tests for directory-based inventory 2013-03-01 23:34:14 +01:00
Daniel Hokka Zakrisson
f1eb195ff5 vars_loader should get the path to the inventory + vars_plugins 2013-03-01 23:22:52 +01:00
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.
2013-03-01 23:22:52 +01:00
Daniel Hokka Zakrisson
d9c6b60b24 Allow inventory to be a directory containing other inventories 2013-03-01 23:22:52 +01:00
Daniel Hokka Zakrisson
647cd0141c Move all inventory script code into the script parser 2013-03-01 23:22:52 +01:00
Michael DeHaan
7749b34546 Merge branch 'new_branch_for_apt_squashed' of git://github.com/RaymiiOrg/ansible-1 into devel
Conflicts:
	library/apt
2013-03-01 17:13:42 -05:00
Michael DeHaan
a19a0ca91b Update documentation on complex args to new simpler format. 2013-03-01 17:08:36 -05:00
Michael DeHaan
fb26f059c5 Merge pull request #2232 from dhozac/module-args-dict
Allow specifying args directly to actions using module: syntax
2013-03-01 14:03:23 -08:00
Michael DeHaan
26826c3bde Merge pull request #2235 from marktheunissen/mysql-idempotent-explanation
Add mysql user documentation about idempotent playbooks
2013-03-01 13:45:55 -08:00
Michael DeHaan
e83819599a Merge pull request #2234 from akvadrako/nice-yaml-and-json
add to_nice_yaml|json filters
2013-03-01 13:45:07 -08:00
Michael DeHaan
38ab9b50c7 Merge branch 'setup_network2' of git://github.com/nigelm/ansible into devel 2013-03-01 16:25:25 -05:00
Michael DeHaan
c92bfb7234 Merge branch 'madcow2' of git://github.com/bcoca/ansible into devel 2013-03-01 16:23:41 -05:00