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/CACVha7e0f67G0WOzRvdfGuQjatP5NbLn-X%2BMej3SxS9Sz4yUsA%40mail.gmail.com.
