Ansible: How to specify an array or list element fact with yaml?

Question:

When we check hostvars with:

We get:

How would I specify the first element of the "ansible_all_ipv4_addresses" list?

Answer:

Use dot notation

Leave a Reply