This uses the plugin framework to add filter plugins. The previously hardcoded core filters are defined using the plugin framework now.
6 lines
151 B
YAML
6 lines
151 B
YAML
---
|
|
|
|
- name: Demonstrate custom jinja2 filters
|
|
hosts: all
|
|
tasks:
|
|
- action: template src=templates/custom-filters.j2 dest=/tmp/custom-filters.txt
|