From 87d347aaa89be1af41067150f989f4eedc5e15ff Mon Sep 17 00:00:00 2001 From: David Galloway Date: Thu, 23 Sep 2021 13:20:36 -0400 Subject: [PATCH] ansible: CentOS and Ubuntu share libvirt service names again Signed-off-by: David Galloway --- ansible/examples/slave.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/ansible/examples/slave.yml b/ansible/examples/slave.yml index d9318098..66614274 100644 --- a/ansible/examples/slave.yml +++ b/ansible/examples/slave.yml @@ -782,27 +782,14 @@ executable: "{{ pip_version }}" ## LIBVIRT SERVICE TASKS - - name: start DEB libvirt services - service: - name: "{{ item }}" - state: restarted - with_items: - - libvirt-bin - - libvirt-guests - when: - - libvirt|bool - - ansible_os_family == "Debian" - - - name: start RPM libvirt services + - name: start libvirt services service: name: "{{ item }}" state: restarted with_items: - libvirtd - libvirt-guests - when: - - libvirt|bool - - ansible_os_family == "RedHat" + when: libvirt|bool ## CONTAINER SERVICE TASKS - name: Container Tasks -- 2.47.3