Commit graph

91 commits

Author SHA1 Message Date
Maciej Delmanowski
c866a26d81 Move Jinja2 filters documentation to separate file 2015-02-21 13:01:22 +01:00
Brian Coca
62a6378c4a Merge pull request #8792 from bcoca/ternary_filter
ternary filter
2015-02-12 11:29:49 -05:00
Brian Coca
f05a1085e9 Merge pull request #9249 from tjanez/doc-add_note_about_escaping_with_regex_replace
Added a note about escaping backreferences when using 'regex_replace' filter
2015-02-11 17:47:19 -05:00
Björn Andersson
65e4f2b2bc Add filter to turn a string into a UUID
This filter was made because I needed to create idempotent UUIDs when
installing the agent for Go (http://go.cd), which uses UUIds to
distinguish the agents from each other.

It uses a newly created Ansible namespace to distinguish UUIDs created
by Ansible from any other source. The new namespace is a random one
created by uuidgen on OSX.
2015-01-21 08:07:17 +08:00
Brian Coca
2a9d5054bf Merge pull request #9995 from bcoca/hash_filters
Hash filters
2015-01-19 15:17:39 -05:00
Brian Coca
b28ef1701f Merge pull request #9896 from resmo/fix/doc
doc: mention smart gathering for facts caching
2015-01-16 10:17:51 -05:00
Brian Coca
ffe1dcde28 Merge pull request #9713 from bcoca/fact_cache_n_gathering
mentioned gathering settings in fact caching.
2015-01-16 10:17:17 -05:00
Brian Coca
35247fabb8 added hash and password_hash functions
documented new hashing filters and preexisting hashing filters
removed extra sha1 example in others, clarified some of the hashing examples
2015-01-13 14:05:57 -05:00
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