recollect virt_net facts after new bridge created
diff --git a/roles/config-virt/tasks/main.yml b/roles/config-virt/tasks/main.yml
index fb748fa..659a521 100644
--- a/roles/config-virt/tasks/main.yml
+++ b/roles/config-virt/tasks/main.yml
@@ -22,6 +22,10 @@
xml='{{ lookup("template", "virt_net.xml.j2") }}'
with_items: '{{ virt_nets }}'
+- name: collect libvirt network facts after defining new network
+ virt_net:
+ command=facts
+
- name: start libvirt networks
when: ansible_libvirt_networks["xos-{{ item.name }}"].state != "active"
virt_net: