diff --git a/tasks/main.yml b/tasks/main.yml index 0d14353..426d1bc 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -27,7 +27,12 @@ # openvswitch_brname: "{{ libvirt_brname }}" when: - 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 # openvswitch_bridge: