On Wed, 14 Dec 2022 at 00:31, Adrian Sevcenco <[email protected]>

       _network_reduced: "{{ ansible_all_ipv4_addresses |
> ansible.utils.reduce_on_network('XX.XXX.XX.0/24') }}"


Something unrelated, but I had not heard of this filter. Looking at the
docs on
https://docs.ansible.com/ansible/latest/collections/ansible/utils/reduce_on_network_filter.html,
it seems to me that it is doing the same thing as:

ansible.utils.ipaddr('XX.XXX.XX.0/24')

Or am I missing something?

Thx!

-- 
Sent from Gmail Mobile

-- 
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/CAF8BbLbC3OxxcEwBzchO52fDcJELGkm1BhAwcSsfmU_-8Fp%2Bug%40mail.gmail.com.

Reply via email to