]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: start the libvirt services for slave_libvirt 568/head
authorAlfredo Deza <adeza@redhat.com>
Mon, 28 Nov 2016 15:19:05 +0000 (10:19 -0500)
committerAlfredo Deza <adeza@redhat.com>
Mon, 28 Nov 2016 16:53:32 +0000 (11:53 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ansible/examples/slave_libvirt.yml
ansible/slave_libvirt.yml

index 95139656430e4014bbda476b935012355de32efd..0bd627d23b9627d3dfce3eea5f5bd434e0aa3ab3 100644 (file)
         # github.com.pub is the output of `ssh-keyscan github.com`
         key: "{{ lookup('file', 'playbook/files/ssh/hostkeys/github.com.pub') }}"
 
+    - name: start the libvirt-bin service
+      sudo: true
+      service:
+        name: libvirt-bin
+        state: started
+
+    - name: start the libvirt-guests service
+      sudo: true
+      service:
+        name: libvirt-guests
+        state: started
+
     - name: register the new slave to jenkins master with ssh
       jenkins_node:
         username: "{{ api_user }}"
index 95139656430e4014bbda476b935012355de32efd..0bd627d23b9627d3dfce3eea5f5bd434e0aa3ab3 100644 (file)
         # github.com.pub is the output of `ssh-keyscan github.com`
         key: "{{ lookup('file', 'playbook/files/ssh/hostkeys/github.com.pub') }}"
 
+    - name: start the libvirt-bin service
+      sudo: true
+      service:
+        name: libvirt-bin
+        state: started
+
+    - name: start the libvirt-guests service
+      sudo: true
+      service:
+        name: libvirt-guests
+        state: started
+
     - name: register the new slave to jenkins master with ssh
       jenkins_node:
         username: "{{ api_user }}"