---
- set_fact:
    contrail_masters_ip: "{{ contrail_masters_ip }} {{ hostvars[item]['ansible_default_ipv4']['address'] }}"
  with_items: "{{ contrail_masters.split() }}"
  when: contrail_masters | length > 0
