From 851fc9ec891352defe38103e652fd2129390f910 Mon Sep 17 00:00:00 2001 From: Adrien Date: Tue, 18 Jun 2019 18:55:07 +0200 Subject: [PATCH] Update for ansible 2.8 --- tasks/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: