https://github.com/kpfleming/jinjanator-plugin-ansible
Plugin which provides Ansible filters and tests to the Jinjanator tool
https://github.com/kpfleming/jinjanator-plugin-ansible
ansible jinja2 jinja2-cli python python3
Last synced: 6 months ago
JSON representation
Plugin which provides Ansible filters and tests to the Jinjanator tool
- Host: GitHub
- URL: https://github.com/kpfleming/jinjanator-plugin-ansible
- Owner: kpfleming
- License: apache-2.0
- Created: 2023-07-24T17:36:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-14T10:58:29.000Z (8 months ago)
- Last Synced: 2024-12-16T02:11:47.834Z (6 months ago)
- Topics: ansible, jinja2, jinja2-cli, python, python3
- Language: Python
- Homepage:
- Size: 60.5 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# jinjanator-plugin-ansible
![]()
[](https://github.com/kpfleming/jinjanator-plugin-ansible/actions?query=workflow%3ACI%20checks)
[](https://www.python.org/downloads/release/python-3912/)
[](https://spdx.org/licenses/Apache-2.0.html)
[](https://github.com/psf/black)
[](https://github.com/python/mypy)
[](https://github.com/astral-sh/ruff)
[](https://github.com/pypa/hatch)
[](https://github.com/pytest-dev/pytest)This repo contains `jinjanator-plugin-ansible`, a plugin which
provides access to Ansible's filters to templates rendered using the
[jinjanator](https://github.com/kpfleming/jinjanator) tool.Open Source software: [Apache License 2.0](https://spdx.org/licenses/Apache-2.0.html)
##
This plugin makes all of the filters and tests from the Ansible 'core'
collection available to templates being rendered using the jinjanator
tool.## Installation
```
pip install jinjanator-plugin-ansible
```## Usage
The Ansible filters and tests can be used in templates using the same
names that would be used if the template was rendered by Ansible
itself.## Chat
If you'd like to chat with the jinjanator community, join us on
[Matrix](https://matrix.to/#/#jinjanator:km6g.us)!## Credits
["Standing on the shoulders of
giants"](https://en.wikipedia.org/wiki/Standing_on_the_shoulders_of_giants)
could not be more true than it is in the Python community; this
project relies on many wonderful tools and libraries produced by the
global open source software community, in addition to Python
itself. I've listed many of them below, but if I've overlooked any
please do not be offended :-)* [Black](https://pypi.org/project/black)
* [Hatch-Fancy-PyPI-Readme](https://pypi.org/project/hatch-fancy-pypi-readme)
* [Hatch](https://pypi.org/project/hatch)
* [Mypy](https://pypi.org/project/mypy)
* [pyproject-fmt](https://pypi.org/project/pyproject-fmt)
* [Pytest](https://pypi.org/project/pytest)
* [Ruff](https://pypi.org/project/ruff)
* [Towncrier](https://pypi.org/project/towncrier)