auto-update documentation

This commit is contained in:
Drone Shipper 2023-07-30 11:08:42 +00:00
parent 73bad7b42d
commit 8fe9909a17
4 changed files with 0 additions and 65 deletions

View File

@ -1,10 +0,0 @@
---
title: general
geekdocFlatSection: true
---
General custom content collection for Ansible.
<!-- spellchecker-disable -->
{{< toc-tree >}}
<!-- spellchecker-enable -->

View File

@ -1,3 +0,0 @@
---
title: Filters
---

View File

@ -1,26 +0,0 @@
Simple filter to prefix all items from a list. Default prefix will be `--` but you can also pass a custom one.
## Example
```Yaml
my_list:
- item1
- item2
{{ my_list | prefix | join(' ') }}
# result:
# "--item1 --item2"
```
Or pass a custom prefix:
```Yaml
my_list:
- item1
- item2
{{ my_list | prefix(prefix='-') | join(' ') }}
# result:
# "-item1 -item2"
```

View File

@ -1,26 +0,0 @@
Simple filter to wrap all items form a list. Default will wrap items in single quotes but you can also pass a custom wrapper character.
## Example
```Yaml
my_list:
- item1
- item2
{{ my_list | wrap | join(',') }}
# result:
# "'item1','item2'"
```
Or pass a custom wrapper:
```Yaml
my_list:
- item1
- item2
{{ my_list | wrap(wrapper='/') | join(',') }}
# result:
# "/item1/,/item2/"
```