First thing, don't use item in your for loop, it is reserved for ansible loops and will cause confusion.
What is base_vars? how does it get loaded?if it were a yaml file you can do it 2 ways:
mgmt_access_networks: ['172.22.161.0/24', '172.27.0.0/16', '172.28.0.0/16', '198.18.0.0/15']
or
mgmt_access_networks:
- '172.27.0.0/16' ... etc
Brian Coca
--To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADn%2BHsym5C4EidkF9Bwv5cigvOjyoRtZypMk-ibJX9qbbKd_YA%40mail.gmail.com.
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.