Hi Brian, I tried using * ' |* ' operator inside the jinja template , but it was not considered as "btwise or " operator, instead it is considered as pipe for filter operation that follows it.
The filter_plugin I tried is working now, there was a small coding issue inside the filetr.py file , which was reported by playbook run logs on the console, which i missed to look. After carefully looking into the logs, i could fix the coding issue and after that filter operation was found from the filter_plugin path that was specified in the ansible.cfg file. *filter_plugins = /usr/share/ansible/plugins/filter * There was no more setting needed apart from specifying the filter path in ansible.cfg Thanks, Reshma On Thursday, 12 August 2021 at 15:43:05 UTC+1 Brian Coca wrote: > have you tried using python bitwise operators (they should work in any > Jinja2 template)? > > <<, >>, &, |, ~, and ^ > > > -- > ---------- > Brian Coca > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f33b2ba7-5591-438c-9f48-227a1488998fn%40googlegroups.com.
