Update for ansible 2.8

This commit is contained in:
Adrien Reslinger 2019-06-18 18:55:07 +02:00
parent dde75d6597
commit 851fc9ec89

View file

@ -27,7 +27,12 @@
# openvswitch_brname: "{{ libvirt_brname }}" # openvswitch_brname: "{{ libvirt_brname }}"
when: when:
- libvirt_openvswitch == true - libvirt_openvswitch == true
notify: Restart openswitch register: install_openvswitch
- name: Restart libvirt_kvm after openvswitch installation
service:
name: "{{ libvirt_service }}"
state: restarted
#- name: Add Openvswitch bridge #- name: Add Openvswitch bridge
# openvswitch_bridge: # openvswitch_bridge: