Jesse Keating
35328ed503
Return early from setup step when possible
...
The _list_available_hosts call can be lengthy, and in the case where
gather_facts is disabled the call is pointless. So re-arrange the logic
to return early from _do_setup_step when gather_facts is false.
2014-01-03 16:39:13 -08:00
James Tanner
191be7b951
Resolves issues with newer versions of pip not having a --use-mirrors paramater for the install command
2014-01-03 15:29:18 -05:00
Michael DeHaan
28b9fd4e30
We have had only_if, when_foo, etc, deprecated for a while and said they would be removed in 1.5. Now they are, with friendly error messages still.
...
Users of these features should use "when:" as documented at docs.ansible.com.
Similarly, include + with_items has been removed. The solution is to loop
inside the task files, see with_nested / with_together, etc.
2014-01-03 13:47:54 -05:00
Michael DeHaan
5d50bcf6dc
Correct typo in variable in docs.
2014-01-03 13:47:54 -05:00
James Tanner
21fdb2bbc7
Fixes #5200 Handle template contents with unicode strings better
2014-01-03 11:18:20 -05:00
Michael DeHaan
1270e2350c
Remove man3 stuff since this is available via ansible-doc, rpm target should
...
build manpages.
2014-01-03 11:06:45 -05:00
Michael DeHaan
0882eefdff
Merge conflict
2014-01-03 11:06:32 -05:00
James Tanner
fc473b3246
Fixes #5146 Handle missing stdin when running under celery with rabbitmq or redis
2014-01-03 09:46:16 -05:00
jctanner
89abc35e59
Merge pull request #5167 from jaspernbrouwer/devel
...
service_module: Fixed false positive on initctl as enable_cmd
2014-01-02 20:24:00 -08:00
Michael DeHaan
288a6a10dc
Merge pull request #5481 from jarv/jarv/docfix
...
bad closing quote in footer
2014-01-02 18:23:10 -08:00
John Jarvis
318116f291
bad closing quote in footer
2014-01-02 20:16:19 -05:00
Michael DeHaan
de2ffc1276
Don't need to document these guys.
2014-01-02 17:55:59 -05:00
Michael DeHaan
c4a8a6d3c2
Add an "all" category so all modules show up uncategorized there.
2014-01-02 17:42:18 -05:00
Michael DeHaan
1251538e96
Fix syntax of docsite anchors.
2014-01-02 17:37:48 -05:00
Michael DeHaan
2f811c40d7
Basic docsite formatting fixups
2014-01-02 17:36:52 -05:00
James Tanner
86719ce77f
Fixes #5040 setup module: do not add primary interface info to the secondary interface data
2014-01-02 16:17:24 -05:00
James Tanner
cb2214d6f8
Fixes #4935 Synchronize module: set destination to an fqdn if connection is not local, and abide by ansible_remote_user
2014-01-02 14:58:12 -05:00
jctanner
99560e3902
Merge pull request #5047 from sergevanginderachter/synch_template_ansiblesshhost
...
synchronize: allow ansible_ssh_host to be templated
2014-01-02 09:05:14 -08:00
Michael DeHaan
99616d0c80
Pass scrub_data by default, see response from DO here: https://www.digitalocean.com/blog
2013-12-30 20:21:15 -05:00
Michael DeHaan
c45f166235
Merge pull request #5453 from jensenbox/patch-1
...
Fix a small typo
2013-12-29 16:06:00 -08:00
Christian Jensen
80bb49c8b7
Fix a small typo
2013-12-29 15:56:38 -08:00
Michael DeHaan
12ecff71ba
Add a few notes about variables to the FAQ.
2013-12-27 15:52:53 -05:00
Michael DeHaan
81fdd5d02a
Add a note about hosts being ok in multiple groups.
2013-12-27 15:42:11 -05:00
Michael DeHaan
fdb8505a5e
Add ansible-pull's -o to the manpage.
2013-12-27 15:33:33 -05:00
Michael DeHaan
132a7fa88e
Added note about tag groups to AWS guide.
2013-12-27 15:19:19 -05:00
Michael DeHaan
d4cd1fba8b
add a note about raw/endraw
2013-12-27 15:01:27 -05:00
Michael DeHaan
4658a98066
Remove line about undocumented variables as they should be documented :)
2013-12-27 14:50:50 -05:00
Michael DeHaan
3ef228a906
Merge pull request #5387 from sa2ajj/fix-docs-refs
...
fix various documentation xrefs
2013-12-27 11:45:54 -08:00
Michael DeHaan
d84b236ad5
Merge pull request #5436 from jkleckner/fix-fail-doc-example
...
Fix documentation example for the fail module
2013-12-27 11:21:51 -08:00
Mikhail Sobolev
64652fa6ab
fix various documentation xrefs
2013-12-27 18:21:08 +02:00
Jim Kleckner
edca1d69cf
Fix documentation example for the fail module
...
The example for the fail module doesn't work:
http://www.ansibleworks.com/docs/modules.html#fail
The current text shows:
- fail: msg="The system may not be provisioned according to the CMDB status."
when: "{{ cmdb_status }} != 'to-be-staged'"
The "when" documentation indicates that the argument is already a Jinja2
expression:
http://www.ansibleworks.com/docs/playbooks_conditionals.html#the-when-statement
Thus, the following is
when: cmdb_status != "to-be-staged"
is preferred even though the following could work but generates a
deprecation warning:
when: {{cmdb_status != "to-be-staged"}}
2013-12-26 16:32:32 -08:00
Michael DeHaan
af98ce8433
Add topics index to installation page.
2013-12-26 14:35:57 -05:00
Michael DeHaan
eec9b6c8b8
Fix a intra-doc link.
2013-12-26 14:35:57 -05:00
Michael DeHaan
bde41bac35
Fix some small docsite formatting things.
2013-12-26 14:35:57 -05:00
Michael DeHaan
1c29f043b4
Add contents to various pages with more than one topic per page.
2013-12-26 14:35:57 -05:00
Mikhail Sobolev
8733b5da8b
fix short/full description for elasticache
2013-12-26 14:35:57 -05:00
Mikhail Sobolev
84948292f3
include short_description in the module page's title
2013-12-26 14:35:57 -05:00
Mikhail Sobolev
8b7327a2f6
make examples/DOCUMENTATION.yml a link
2013-12-26 14:35:57 -05:00
Michael DeHaan
cfcdc3403e
Use task names in examples.
2013-12-26 13:46:09 -05:00
Michael DeHaan
4765032fcb
Merge branch 'devel' of git://github.com/beefsalad/ansible into devel
2013-12-26 13:41:42 -05:00
Michael DeHaan
1260225fc9
Merge pull request #5427 from bcoca/template_docs2
...
added more usefull example for jinja2 overrides
2013-12-26 10:30:44 -08:00
Michael DeHaan
1847a73b89
Merge pull request #5425 from mmoya/docfix
...
Missing "is" in file module description
2013-12-26 10:29:42 -08:00
beefsalad
5b2fda6fa6
added descriptions for yum options
...
Updated main description to state that the yum module will handle package groups. Added descriptions for each example, as it is unclear to (some) users that @Name implies a group install.
2013-12-26 12:25:52 -06:00
Brian Coca
488ef22f5e
added more usefull example for jinja2 overrides (this one is actually
...
used)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-26 12:01:41 -05:00
Michael DeHaan
81bc44ccc2
Don't show tracebacks on Control-C.
2013-12-26 11:41:05 -05:00
Maykel Moya
0711447d3a
Missing "is" in file module description
2013-12-26 12:34:46 +01:00
Michael DeHaan
1119ecebee
Make AnsibleWorks a hyperlink in docs footer.
2013-12-25 21:36:23 -05:00
Michael DeHaan
83d298accc
Add note about how to submit doc changes to generated module docs, limit TOC depth for module category list.
2013-12-25 21:29:54 -05:00
Michael DeHaan
d6e28b4c57
Enable the very cool "Edit on GitHub" links for pages where the RST is straight
...
out of github.
2013-12-25 21:05:25 -05:00
Mikhail Sobolev
fce90e0370
use rst formatting for sphinx part
2013-12-25 21:20:11 +02:00