configure_libvirt_network.yml 265 B

1234567891011
  1. ---
  2. - name: Create the libvirt network for OpenShift
  3. virt_net:
  4. name: '{{ libvirt_network }}'
  5. state: '{{ item }}'
  6. autostart: 'yes'
  7. xml: "{{ lookup('template', 'network.xml') }}"
  8. uri: '{{ libvirt_uri }}'
  9. with_items:
  10. - present
  11. - active