From: David Galloway Date: Thu, 23 Sep 2021 17:20:36 +0000 (-0400) Subject: ansible: CentOS and Ubuntu share libvirt service names again X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=87d347aaa89be1af41067150f989f4eedc5e15ff;p=ceph-build.git ansible: CentOS and Ubuntu share libvirt service names again Signed-off-by: David Galloway --- 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