Commit Graph

142 Commits (8331e915e0a9181eebba41e70f4ac264b6a84bc7)

Author SHA1 Message Date
Peter Parente 2aba3b4172 Fix typo: "name" to "role" 10 years ago
Maciej Delmanowski c866a26d81 Move Jinja2 filters documentation to separate file 10 years ago
Brian Coca 62a6378c4a Merge pull request #8792 from bcoca/ternary_filter
ternary filter
10 years ago
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
10 years ago
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.
10 years ago
Brian Coca 2a9d5054bf Merge pull request #9995 from bcoca/hash_filters
Hash filters
10 years ago
Brian Coca b28ef1701f Merge pull request #9896 from resmo/fix/doc
doc: mention smart gathering for facts caching
10 years ago
Brian Coca ffe1dcde28 Merge pull request #9713 from bcoca/fact_cache_n_gathering
mentioned gathering settings in fact caching.
10 years ago
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
10 years ago
René Moser a88e928bf0 doc: mention smart gathering for facts caching 10 years ago
Toshio Kuratomi 7ab1e52575 Merge pull request #9832 from bcoca/math_filters
math filters!
10 years ago
Brian Coca b07ce8b942 removed redundant math functions as jinja2 provides abs() and round()
already
10 years ago
Brian Coca 6a3c26eb70 removed stray j 10 years ago
Brian Coca 7a43d40050 math filters! 10 years ago
Toshio Kuratomi b74a02301b Fix documentation syntax problems 10 years ago
Toshio Kuratomi ff970eabd8 Add role vars to differentiate with role defaults 10 years ago
Brian Coca 2d17d18c1b mentioned gathering settings in fact caching. 10 years ago
Adrian Lopez f27ffdcbf0 Is it not possible to set a comment in the same line 10 years ago
Brian Coca 02f6ca034e zpelling fix 10 years ago
Brian Coca 0edaa6f790 Merge pull request #9270 from bcoca/do_the_shuffle
added new 'shuffle' filter
10 years ago
Brian Coca 8d37c6f091 minor clarifications of variable precedence 10 years ago
Brian Coca 0f2f022bb0 removed YAML as documented local facts format as it is not supported and
would require extra modules on target.
10 years ago
Toshio Kuratomi f1267c0b05 Move from md5 to sha1 to work on fips-140 enabled systems 10 years ago
Niku Toivola 5a11315dc7 add documentation for the delegate_to magic variable 10 years ago
Juri Glass 9974ba01e3 added fact caching hint 10 years ago
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.
10 years ago
Brian Coca 12016b95a8 documented type based behaviour 10 years ago
Brian Coca 3534bdf953 added new 'shuffle' filter 10 years ago
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
10 years ago
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.
10 years ago
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.
10 years ago
Gary Wu b0c4897196 Update playbooks_variables.rst 10 years ago
Brian Coca 88daac4971 ternary filter 10 years ago
James Cammarata 35dac66afa Adding docs for default+omit 10 years ago
Pascal Borreli fe40a7d88a Fixed typos 10 years ago
Michael DeHaan 160ddf6b04 WIP on fact caching docs. 10 years ago
Michael DeHaan 7806c5095d Conditional imports are described under conditionals so remove the duplicate section. 10 years ago
Michael DeHaan f6cd9119b1 Update 'version_added' in docs. 10 years ago
Michael Peters 3ba516ac25 adding min() and max() filters for use in Jinja templates 10 years ago
kustodian dea19070e2 Fixed documentation in playbooks_variables.rst 10 years ago
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.
11 years ago
Michael DeHaan 5156794738 Merge pull request #7861 from cchurch/devel
Windows Remote Support
11 years ago
Aaron Yoshitake a8d073c175 Fix typo: "but" -> "put" 11 years ago
Michael DeHaan b0648fda0b Docsite formatting fix. 11 years ago
Michael DeHaan dfd4f18095 Docsite things. 11 years ago
mrdeathless 856681a28d Add missing space between var and delimeter 11 years ago
Michael DeHaan 9a70dd1c94 Slight tweak to regex examples. 11 years ago
Michael DeHaan cf54098dab Merge pull request #6984 from clconway/variable-re-doc
Adds search/match examples to "Playbooks > Variables > Jinja2 Filters" d...
11 years ago
Michael DeHaan ef3c9c6026 Add an example of how to reload local facts. 11 years ago
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
11 years ago
Chris Conway 0ec5d78e20 Modifies match/search filter examples to use non-trivial regexes. 11 years ago
Chris Conway beba4c5a1a Adds search/match examples to "Playbooks > Variables > Jinja2 Filters" doc section. 11 years ago
Nick Zaccardi a6c00989d1 Add reference to the join filter. 11 years ago
Brian Coca 80cd217eb7 simple random filter 11 years ago
Matt Martz 5770428e91 Add version_compare filter 11 years ago
James Cammarata e2d86e4f43 Splitting SETUP_CACHE into two caches, one for host vars and one for setup facts 11 years ago
James Tanner 06920b2e47 Add docs examples for regex_replace 11 years ago
Eric Dahl 9309b6b0e4 Documentation: fix various small typos 11 years ago
David Wheaton 00ed2b811f Update playbooks_variables.rst
incorrect/confusing wording in Jinja2 note?
11 years ago
arianitu fdf6ab016e Update playbooks_variables.rst
Another minor typo.
11 years ago
arianitu 93c331b222 minor typo in playbooks_variables.rst
so so, this should probably be fixed!
11 years ago
Michael DeHaan a6b4b9a751 Show more whitespace throughout playbook examples to encourage better standards in first playbooks folks write. 11 years ago
James Cammarata 4e49b32419 Adding a version note to the expanduser filter documentation 11 years ago
James Cammarata ce358e70bd Added 'expanduser' filter to the docs 11 years ago
Maykel Moya a281643505 Add link (with minor rewording) to jinja2 builtin filters 11 years ago
Maykel Moya cb8f4b8062 Add link to ansible-examples repo 11 years ago
Maykel Moya 95761ea920 Uniform spacing across all filter examples 11 years ago
Maykel Moya 2164573864 Filter name is singular 11 years ago
Michael DeHaan 47316074fe Document "|default" Jinja2 filter example. 11 years ago
James Tanner f52deaff7b Updating changelog and docs for the new play_hosts variable 11 years ago
jctanner 34db2d17e3 Merge pull request #5759 from j2sol/register-hints
Add hints about what data goes into the variable
11 years ago
Michael DeHaan bbf4731fe4 Fix dead link. 11 years ago
Michael DeHaan 81e9a60589 Much rejoicing, ansibleworks.com is now ansible.com
Also note AWX is named "Tower" now, as we found that simpler.
11 years ago
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.
11 years ago
Matt Jaynes f3e416f065 Minor documentation fixes.
Fixed double-dash literals. Fixed broken :doc: links. Minor case fixes. Minor wording fixes.
11 years ago
Richard C Isaacson 3b63b1d5b4 Fixing 'Note' formatting where typos have missing sections or broken formatting. 11 years ago
Michael DeHaan 659cb3118f Merge pull request #5520 from kormoc/fix_symetric_tyop
While looking into filters, I noticed that the documentation has a typo....
11 years ago
Michael DeHaan 5d50bcf6dc Correct typo in variable in docs. 11 years ago
Michael DeHaan 2f811c40d7 Basic docsite formatting fixups 11 years ago
Michael DeHaan 4658a98066 Remove line about undocumented variables as they should be documented :) 11 years ago
Mikhail Sobolev 64652fa6ab fix various documentation xrefs 11 years ago
Michael DeHaan eec9b6c8b8 Fix a intra-doc link. 11 years ago
Michael DeHaan bde41bac35 Fix some small docsite formatting things. 11 years ago
Michael DeHaan 1c29f043b4 Add contents to various pages with more than one topic per page. 11 years ago
Michael DeHaan 041cea134f New Sphinx theme has sidebar navigation so don't need TOC on each page. 11 years ago
Maykel Moya bddb1e3115 Add blank line before rst directive 11 years ago
Brian Coca 246689c2fd added version added + union, diff and sym_diff filters
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca 79145b6a78 updated docs to add new filters
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
James Tanner 4169f1b07c Revert "Fixes #4771 Add 1.4.x example of registered var properties to the docsite"
This reverts commit dc74e700ce.
11 years ago
James Tanner dc74e700ce Fixes #4771 Add 1.4.x example of registered var properties to the docsite 11 years ago
Tomas Thor Jonsson 23bf570bad typo ---- (4) instead of --- (3) 11 years ago
Michael DeHaan 0cd09dd54f Remove extra "latest/" subdirectory in docs build structure. 11 years ago