This is an open source library of Ansible filters which extends the functionality of Ansible.
Simply move the filter_plugins
folder to the root directory of your Ansible project. To use it simply call the filter such as "{{ my_var|filter_name }}"
.
For example: "{{ google.com|dns_to_ip }}"
For further assistance, please see the official Ansible documentation.
- dns_to_ip: A filter to look up and find IP addresses in the DNS. Usage:
"{{ google.com|dns_to_ip }}"