]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: CentOS and Ubuntu share libvirt service names again 1912/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 23 Sep 2021 17:20:36 +0000 (13:20 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 23 Sep 2021 17:20:36 +0000 (13:20 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
ansible/examples/slave.yml

index d9318098a9bf3054b00d59f8b886dc859c11bf41..6661427458f685cf77d63583c68c6cdd5ac52dd9 100644 (file)
         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