Vincent Rubiolo
5266e1e1ab
Fix broken Jinja website links (for tests) ( #74746 )
...
The various links to the Jinja website were broken, this commit fixes them.
4 years ago
Matt Martz
61f6aa55b6
Add semver support to the jinja2 version test ( #71600 )
4 years ago
Rick Elrod
701c638757
Document string tests a bit more ( #71049 )
...
- Explain how `regex` differs from `match` and `search`.
- Document `multiline` and `ignorecase`.
Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Alicia Cozine
db354c0300
Docs: User guide overhaul, part 5 ( #70307 )
4 years ago
Matt Martz
9667f221a5
Make AnsibleVaultEncryptedUnicode work more like a string ( #67823 )
...
* Make AnsibleVaultEncryptedUnicode work more like a string. Fixes #24425
* Remove debugging
* Wrap some things
* Reduce diff
* data should always result in text
* add tests
* Don't just copy and paste, kids
* Add eq and ne back
* Go full UserString copy/paste
* Various version related fixes
* Remove trailing newline
* py2v3
* Add a test that can evaluate whether a variable is vault encrypted
* map was introduces in jinja2 2.7
* moar jinja
* type fix
Co-Authored-By: Sam Doran <sdoran@redhat.com>
* Remove duplicate __hash__
* Fix typo
* Add changelog fragment
* ci_complete
Co-authored-by: Sam Doran <sdoran@redhat.com>
4 years ago
Alicia Cozine
9139c1f81d
consistently call tests tests, not filters ( #68170 )
...
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
5 years ago
Alicia Cozine
860cacc54f
Docs: User guide overhaul, part 2 ( #65474 )
5 years ago
Robert de Bock
f17a55a181
Add advice how to prevent jinja2 warning ( #60594 )
...
* Add advice how to prevent jinja2 warning
##### SUMMARY
This addition helps users to demonstrate how to prevent `[WARNING]: when statements should not include jinja2 templating delimiters`.
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
* Update playbooks_tests.rst
* Update playbooks_tests.rst
Refer to the advised FAQ about when to use `{{ }}`.
5 years ago
James Cassell
a7f90df0e9
Document match/search tests ( #64775 )
...
* clarify `search` vs `match` tests
* string test docs: fix rst formatting
5 years ago
Matt Martz
594a0fa9ae
Add new truthy and falsy jinja2 tests ( #62602 )
5 years ago
Alicia Cozine
d4f0bc183e
removes last :doc: links in user guide ( #58433 )
...
* removes last :doc: links in user guide
5 years ago
Sayed Anisul Hoque
2bdc4e5b4a
Documentation error in the Test if a list contains a value section ( #57923 )
...
* Update docs/docsite/rst/user_guide/playbooks_tests.rst - 'contains' test works with 'select/reject' and 'selectattr/rejectattr' but not 'map'
5 years ago
Jim Rollenhagen
86e98c5213
Note that by default the regex test is identical to match, but can do much more ( #50205 )
...
* Note that the regex test behaves like 'match', with default settings
6 years ago
Abhijeet Kasurde
14eba662c8
Correct match test documentation ( #50229 )
...
Match test matches zero or more characters at the begining of the string.
Fixes : #32366
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Evgeni Golov
7c61ce153f
clarify what `strict` means for the `version` test ( #48979 )
...
Reference the fact that we use the `StrictVersion` parser instead of `LooseVersion` from `distutils` in this case.
6 years ago
Matt Martz
f728f2bff0
Add a new "contains" jinja2 test ( #45798 )
...
* Add contains jinja2 test
* backticks
6 years ago
Mark Jeromin
8d2f6c31de
updated user_guide for regex test, #24155 ( #47893 )
6 years ago
Brian Coca
44510448b0
prefer ansible_facts namespace and dict notation ( #44980 )
...
* prefer ansible_facts namespace and dict notation
* fixed mistranslation
6 years ago
pcahyna
8dc31a88e8
Describe subset and superset as "set theory tests" ( #43926 )
...
subset and superset do not belong to group theory but to set theory.
+label: docsite_pr
6 years ago
Andreas Olsson
1a11cecaef
Prefer https:// links in the docs site
...
All the changed urls are availible by way of https://. Most of them
already redirect.
6 years ago
Eugene Korekin
07adeff665
Fix typo ( #42433 )
...
+label: docsite_pr
6 years ago
Matt Martz
11ce954226
Fix docs for all test. Fixes #41956 ( #41965 )
6 years ago
Benn Roth
56967497d5
minor accuracy fix
...
Don't round the parameter 12.04 in the explanatory paragraph unless `version()` rounds the parameter
(cherry picked from commit 5cf544e03e
)
7 years ago
Alicia Cozine
408e29cbd2
Link fixes ( #39038 )
...
* fixes links on plugins pages
* fixes links in community pages
* fixes links in user guide
* adds anchors on playbooks pages
7 years ago
scottb
381359a8f8
Doc build warning/broken link clean-a-palooza ( #37382 )
...
* Doc build warning/broken link clean-a-palooza, WIP commit 1.
* Fixed broken anchor
* Fixing additional broken links; converting from doc to ref.
* Fix anchor
7 years ago
scottb
373b1dcf59
Core Docs Refactor and Redesign ( #36067 )
...
* Docs refactor as outlined in https://github.com/ansible/proposals/issues/79 . Moves content into 'guides'; refactors TOC; fixes CSS; design tweaks to layout and CSS; fixes generated plugin, CLI and module docs to fix links accodingly; more.
* Adding extra blank line for shippable
7 years ago