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