summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/tasks/configure_libvirt_network.yml
blob: b42ca83afd87284f865ad420b6bc9380a52df46a (plain)
1
2
3
4
5
6
7
8
9
10
11
---
- name: Create the libvirt network for OpenShift
  virt_net:
    name: '{{ libvirt_network }}'
    state: '{{ item }}'
    autostart: 'yes'
    xml: "{{ lookup('template', 'network.xml') }}"
    uri: '{{ libvirt_uri }}'
  with_items:
    - present
    - active