Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sivel/ansible-collection-jinja2
Exposes updated jinja2 filters and tests via an Ansible collection
https://github.com/sivel/ansible-collection-jinja2
Last synced: 19 days ago
JSON representation
Exposes updated jinja2 filters and tests via an Ansible collection
- Host: GitHub
- URL: https://github.com/sivel/ansible-collection-jinja2
- Owner: sivel
- License: bsd-3-clause
- Created: 2020-03-05T15:17:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-23T20:26:18.000Z (about 2 years ago)
- Last Synced: 2024-10-03T23:41:13.222Z (about 1 month ago)
- Language: Python
- Size: 447 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sivel.jinja2
This Ansible collection provides all [Jinja2](https://jinja.palletsprojects.com/)
[filters](https://jinja.palletsprojects.com/en/3.1.x/templates/#list-of-builtin-filters)
and [tests](https://jinja.palletsprojects.com/en/3.1.x/templates/#list-of-builtin-tests)
from the most recent Jinja2 release.This can be useful for users who are using an OS that only offers an older version of Jinja2, and cannot install Jinja2 from [PyPI](https://pypi.org/project/Jinja2).
## Jinja2 Version
3.1.2
## Jinja2 Documentation
[https://jinja.palletsprojects.com/en/3.1.x/templates/](https://jinja.palletsprojects.com/en/3.1.x/templates/)
## Installation
```shell
ansible-galaxy collection install sivel.jinja2
```## Usage
```yaml
- debug:
msg: "{{ result.results|sivel.jinja2.map(attribute='stdout')|list }}"
```