diff --git a/README.md b/README.md index b34a436..39d20fc 100644 --- a/README.md +++ b/README.md @@ -299,7 +299,13 @@ Pass: {{ env("USER_PASSWORD") }} Notice that there must be quotes around the environment variable name +### Ansible Filters +You can use the `jinja2-ansible-filters` package like so: + +- `pip3 install jinja2-ansible-filters` +- `ansiblefilters_path=$(python3 -c "import jinja2_ansible_filters; print(jinja2_ansible_filters.core_filters.__file__)")` +- Then invoke with: `j2 --filters=$ansiblefilters_path [...]` Customization