Commit graph

133 commits

Author SHA1 Message Date
René Moser
a88e928bf0 doc: mention smart gathering for facts caching 2014-12-25 23:33:56 +01: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
b74a02301b Fix documentation syntax problems 2014-12-16 12:25:41 -08:00
Toshio Kuratomi
ff970eabd8 Add role vars to differentiate with role defaults 2014-12-09 09:51:51 -08:00
Brian Coca
2d17d18c1b mentioned gathering settings in fact caching. 2014-12-04 07:44:21 -05:00
Adrian Lopez
f27ffdcbf0 Is it not possible to set a comment in the same line 2014-11-26 14:41:39 +01:00
Brian Coca
02f6ca034e zpelling fix 2014-11-20 16:32:33 -05:00
Brian Coca
0edaa6f790 Merge pull request #9270 from bcoca/do_the_shuffle
added new 'shuffle' filter
2014-11-20 13:43:00 -05:00
Brian Coca
8d37c6f091 minor clarifications of variable precedence 2014-11-14 16:20:52 -05:00
Brian Coca
0f2f022bb0 removed YAML as documented local facts format as it is not supported and
would require extra modules on target.
2014-11-12 17:55:58 -05:00
Toshio Kuratomi
f1267c0b05 Move from md5 to sha1 to work on fips-140 enabled systems 2014-11-06 21:28:04 -08:00
Niku Toivola
5a11315dc7 add documentation for the delegate_to magic variable 2014-11-06 15:03:03 +02:00
Juri Glass
9974ba01e3 added fact caching hint 2014-10-28 11:18:32 +01:00
Juri Glass
c16c527923 Update playbooks_variables.rst
There is some kind of duplicated content with http://docs.ansible.com/faq.html#how-do-i-loop-over-a-list-of-hosts-in-a-group-inside-of-a-template and this gotcha isn't listed here.
2014-10-23 16:42:10 +02:00
Brian Coca
12016b95a8 documented type based behaviour 2014-10-08 10:58:48 -04:00
Brian Coca
3534bdf953 added new 'shuffle' filter 2014-10-05 20:53:06 -04:00
i5513
e98d8c2b5e Add readlink filter doc
As requested at request pull #9213, I'm proposing updathing this doc. Do you have man pages where I can update this too ?

Thanks
2014-10-02 20:30:44 +02:00
Tadej Janež
49c463f98b Added a note about escaping backreferences when using 'regex_replace' filter.
Users will often be puzzled why 'regex_replace' is not working as intended when used inside
YAML arguments. This note explains what they have to do to get it working.
2014-10-02 19:11:48 +02:00
renning bruns
49aa7ee523 Update playbooks_variables.rst
very small and minor addition, but I couldn't find anywhere that answered this (now obvious) question I had of whether or not facts could also be yaml files.
2014-09-11 14:41:51 -07:00
Gary Wu
b0c4897196 Update playbooks_variables.rst 2014-08-28 09:39:14 -05:00
Brian Coca
88daac4971 ternary filter 2014-08-27 22:27:00 -04:00
James Cammarata
35dac66afa Adding docs for default+omit 2014-08-27 12:41:49 -05:00
Pascal Borreli
fe40a7d88a Fixed typos 2014-08-22 11:39:38 +01:00
Michael DeHaan
160ddf6b04 WIP on fact caching docs. 2014-08-11 15:15:09 -04:00
Michael DeHaan
7806c5095d Conditional imports are described under conditionals so remove the duplicate section. 2014-08-08 13:20:15 -04:00
Michael DeHaan
f6cd9119b1 Update 'version_added' in docs. 2014-08-08 11:28:48 -04:00
Michael Peters
3ba516ac25 adding min() and max() filters for use in Jinja templates 2014-08-08 11:28:48 -04:00
kustodian
dea19070e2 Fixed documentation in playbooks_variables.rst 2014-07-18 20:29:25 +02:00
Chris Hepner
49f3a794b1 Fix missing code block in playbook variables doc
A code sample was not being rendered as a code block. This adds the preceding '::' reStructuredText markup.
2014-06-25 10:19:46 -07:00
Michael DeHaan
5156794738 Merge pull request #7861 from cchurch/devel
Windows Remote Support
2014-06-19 22:10:41 -05:00
Aaron Yoshitake
a8d073c175 Fix typo: "but" -> "put" 2014-06-19 18:52:38 -07:00
Michael DeHaan
b0648fda0b Docsite formatting fix. 2014-06-19 14:25:28 -05:00
Michael DeHaan
dfd4f18095 Docsite things. 2014-06-19 14:25:28 -05:00
mrdeathless
856681a28d Add missing space between var and delimeter 2014-05-17 16:43:23 +03:00
Michael DeHaan
9a70dd1c94 Slight tweak to regex examples. 2014-04-29 16:54:14 -04:00
Michael DeHaan
cf54098dab Merge pull request #6984 from clconway/variable-re-doc
Adds search/match examples to "Playbooks > Variables > Jinja2 Filters" d...
2014-04-29 16:50:55 -04:00
Michael DeHaan
ef3c9c6026 Add an example of how to reload local facts. 2014-04-29 15:46:47 -04:00
James Cammarata
a6068b09ac Fix collision in random filter name by merging functionality
Merges the functionality of the original jinja2 random filter with
the one we provide.

Fixes #7113
2014-04-22 14:21:00 -05:00
Chris Conway
0ec5d78e20 Modifies match/search filter examples to use non-trivial regexes. 2014-04-14 16:50:30 -07:00
Chris Conway
beba4c5a1a Adds search/match examples to "Playbooks > Variables > Jinja2 Filters" doc section. 2014-04-14 08:25:41 -07:00
Nick Zaccardi
a6c00989d1 Add reference to the join filter. 2014-04-12 21:26:08 -04:00
Brian Coca
80cd217eb7 simple random filter 2014-04-09 09:03:38 -04:00
Matt Martz
5770428e91 Add version_compare filter 2014-04-02 20:21:30 -05:00
James Cammarata
e2d86e4f43 Splitting SETUP_CACHE into two caches, one for host vars and one for setup facts 2014-04-01 16:23:33 -05:00
James Tanner
06920b2e47 Add docs examples for regex_replace 2014-03-31 14:14:57 -04:00
Eric Dahl
9309b6b0e4 Documentation: fix various small typos 2014-03-30 18:45:55 -05:00
David Wheaton
00ed2b811f Update playbooks_variables.rst
incorrect/confusing wording in Jinja2 note?
2014-03-08 13:53:16 -08:00
arianitu
fdf6ab016e Update playbooks_variables.rst
Another minor typo.
2014-03-03 16:08:40 -05:00
arianitu
93c331b222 minor typo in playbooks_variables.rst
so so, this should probably be fixed!
2014-03-03 16:03:54 -05:00
Michael DeHaan
a6b4b9a751 Show more whitespace throughout playbook examples to encourage better standards in first playbooks folks write. 2014-02-28 14:18:44 -05:00
James Cammarata
4e49b32419 Adding a version note to the expanduser filter documentation 2014-02-24 14:36:13 -06:00
James Cammarata
ce358e70bd Added 'expanduser' filter to the docs 2014-02-20 13:51:01 -05:00
Maykel Moya
a281643505 Add link (with minor rewording) to jinja2 builtin filters 2014-02-17 12:15:42 +01:00
Maykel Moya
cb8f4b8062 Add link to ansible-examples repo 2014-02-17 12:05:53 +01:00
Maykel Moya
95761ea920 Uniform spacing across all filter examples 2014-02-17 11:54:33 +01:00
Maykel Moya
2164573864 Filter name is singular 2014-02-17 11:46:05 +01:00
Michael DeHaan
47316074fe Document "|default" Jinja2 filter example. 2014-02-15 14:01:07 -05:00
James Tanner
f52deaff7b Updating changelog and docs for the new play_hosts variable 2014-02-06 00:01:39 -05:00
jctanner
34db2d17e3 Merge pull request #5759 from j2sol/register-hints
Add hints about what data goes into the variable
2014-01-29 12:22:18 -08:00
Michael DeHaan
bbf4731fe4 Fix dead link. 2014-01-28 20:29:42 -05:00
Michael DeHaan
81e9a60589 Much rejoicing, ansibleworks.com is now ansible.com
Also note AWX is named "Tower" now, as we found that simpler.
2014-01-28 20:29:41 -05:00
Jesse Keating
2841edbebd Add hints about what data goes into the variable
It's not immediately obvious what all can be accessed from the register
variable. Breadcrumbs to use -v would help.
2014-01-24 17:19:55 -08:00
Matt Jaynes
f3e416f065 Minor documentation fixes.
Fixed double-dash literals. Fixed broken :doc: links. Minor case fixes. Minor wording fixes.
2014-01-21 22:05:21 -07:00
Richard C Isaacson
3b63b1d5b4 Fixing 'Note' formatting where typos have missing sections or broken formatting. 2014-01-09 21:59:47 -06:00
Michael DeHaan
659cb3118f Merge pull request #5520 from kormoc/fix_symetric_tyop
While looking into filters, I noticed that the documentation has a typo....
2014-01-07 15:49:52 -05:00
Michael DeHaan
5d50bcf6dc Correct typo in variable in docs. 2014-01-03 13:47:54 -05:00
Michael DeHaan
2f811c40d7 Basic docsite formatting fixups 2014-01-02 17:36:52 -05:00
Michael DeHaan
4658a98066 Remove line about undocumented variables as they should be documented :) 2013-12-27 14:50:50 -05:00
Mikhail Sobolev
64652fa6ab fix various documentation xrefs 2013-12-27 18:21:08 +02: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
Michael DeHaan
041cea134f New Sphinx theme has sidebar navigation so don't need TOC on each page. 2013-12-24 17:29:28 -05:00
Maykel Moya
bddb1e3115 Add blank line before rst directive 2013-12-03 11:51:44 +01:00
Brian Coca
246689c2fd added version added + union, diff and sym_diff filters
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-11-19 14:37:53 -05:00
Brian Coca
79145b6a78 updated docs to add new filters
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-11-18 23:40:29 -05:00
James Tanner
4169f1b07c Revert "Fixes #4771 Add 1.4.x example of registered var properties to the docsite"
This reverts commit dc74e700ce.
2013-11-08 10:30:45 -05:00
James Tanner
dc74e700ce Fixes #4771 Add 1.4.x example of registered var properties to the docsite 2013-11-08 10:20:05 -05:00
Tomas Thor Jonsson
23bf570bad typo ---- (4) instead of --- (3) 2013-11-04 14:16:33 +01:00
Michael DeHaan
0cd09dd54f Remove extra "latest/" subdirectory in docs build structure. 2013-10-14 08:27:30 -04:00
Renamed from docsite/latest/rst/playbooks_variables.rst (Browse further)