Commit graph

27 commits

Author SHA1 Message Date
Toshio Kuratomi
80e7e1a17c
Due to the takeover of freenode we're moving to a different irc network. ()
* Due to the takeover of freenode we're moving to a different irc network.

* Our channels updated to point at the same channel name on libera.chat
* Some links went to webchat.freenode.net.  At this time, libera.chat
  doesn't point you to an official webchat client so I changed these to
  https://libera.chat. (kiwi irc does work with libera.chat so that
  could be another option).
* In general, I used the name irc.libera.net for link names and
  https://libera.chat for link targets.  This is because the irc service
  is hosted on irc.libera.chat but the project web server is hosted on
  libera.chat.  (This appears to also be true for freenode but we were
  using http://irc.freenode.net which doesn't seem to work.  Oops).
* Removed http://irc.freenode.net from the linkcheck exceptions.
  linkcheck was actually correct to flag that as invalid (should have
  been http://frenode.net instead).

* Looks like hte important people in #yaml are now in libera.chat

* Link to where contributors should get help

Add a link target and then link to where contributors should get support
for developing groups of modules.

* Update docs/docsite/rst/dev_guide/developing_modules_in_groups.rst

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: John R Barker <john@johnrbarker.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-06-01 08:48:09 +01:00
Vincent Rubiolo
5266e1e1ab
Fix broken Jinja website links (for tests) ()
The various links to the Jinja website were broken, this commit fixes them.
2021-05-18 11:40:38 -04:00
Matt Martz
61f6aa55b6
Add semver support to the jinja2 version test () 2020-09-08 08:52:27 -05:00
Rick Elrod
701c638757
Document string tests a bit more ()
- Explain how `regex` differs from `match` and `search`.
- Document `multiline` and `ignorecase`.

Signed-off-by: Rick Elrod <rick@elrod.me>
2020-08-03 10:19:20 -05:00
Alicia Cozine
db354c0300
Docs: User guide overhaul, part 5 () 2020-07-14 17:00:44 -04:00
Matt Martz
9667f221a5
Make AnsibleVaultEncryptedUnicode work more like a string ()
* Make AnsibleVaultEncryptedUnicode work more like a string. Fixes 

* 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>
2020-06-08 16:30:14 -05:00
Alicia Cozine
9139c1f81d
consistently call tests tests, not filters ()
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
2020-03-25 21:31:29 -04:00
Alicia Cozine
860cacc54f Docs: User guide overhaul, part 2 () 2019-12-12 13:35:17 -05:00
Robert de Bock
f17a55a181 Add advice how to prevent jinja2 warning ()
* 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 `{{ }}`.
2019-11-14 14:36:05 +00:00
James Cassell
a7f90df0e9 Document match/search tests ()
* clarify `search` vs `match` tests

* string test docs: fix rst formatting
2019-11-13 11:14:10 -06:00
Matt Martz
594a0fa9ae Add new truthy and falsy jinja2 tests () 2019-10-02 13:58:28 -04:00
Alicia Cozine
d4f0bc183e removes last :doc: links in user guide ()
* removes last :doc: links in user guide
2019-06-26 17:07:27 -04:00
Sayed Anisul Hoque
2bdc4e5b4a Documentation error in the Test if a list contains a value section ()
* Update docs/docsite/rst/user_guide/playbooks_tests.rst - 'contains' test works with 'select/reject' and 'selectattr/rejectattr' but not 'map'
2019-06-18 09:15:09 -05:00
Jim Rollenhagen
86e98c5213 Note that by default the regex test is identical to match, but can do much more ()
* Note that the regex test behaves like 'match', with default settings
2019-05-07 10:00:00 -05:00
Abhijeet Kasurde
14eba662c8 Correct match test documentation ()
Match test matches zero or more characters at the begining of the string.

Fixes: 

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-12-21 09:38:31 -05:00
Evgeni Golov
7c61ce153f clarify what strict means for the version test ()
Reference the fact that we use the `StrictVersion` parser instead of `LooseVersion` from `distutils` in this case.
2018-11-26 15:55:25 -06:00
Matt Martz
f728f2bff0
Add a new "contains" jinja2 test ()
* Add contains jinja2 test

* backticks
2018-11-07 14:49:00 -06:00
Mark Jeromin
8d2f6c31de updated user_guide for regex test, () 2018-11-02 15:53:55 -05:00
Brian Coca
44510448b0 prefer ansible_facts namespace and dict notation ()
* prefer ansible_facts namespace and dict notation

* fixed mistranslation
2018-09-06 10:26:58 -05:00
pcahyna
8dc31a88e8 Describe subset and superset as "set theory tests" ()
subset and superset do not belong to group theory but to set theory.

+label: docsite_pr
2018-08-22 15:22:10 -04:00
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.
2018-08-01 08:20:40 -07:00
Eugene Korekin
07adeff665 Fix typo ()
+label: docsite_pr
2018-07-07 15:04:05 -04:00
Matt Martz
11ce954226
Fix docs for all test. Fixes () 2018-06-26 14:53:58 -05:00
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)
2018-04-20 19:14:39 -04:00
Alicia Cozine
408e29cbd2 Link fixes ()
* fixes links on plugins pages

* fixes links in community pages

* fixes links in user guide

* adds anchors on playbooks pages
2018-04-19 17:02:30 -07:00
scottb
381359a8f8
Doc build warning/broken link clean-a-palooza ()
* 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
2018-03-14 12:44:21 -07:00
scottb
373b1dcf59
Core Docs Refactor and Redesign ()
* 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
2018-02-13 07:23:55 -08:00
Renamed from docs/docsite/rst/playbooks_tests.rst (Browse further)