From: Alfredo Deza Date: Mon, 28 Nov 2016 15:19:05 +0000 (-0500) Subject: ansible: start the libvirt services for slave_libvirt X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F568%2Fhead;p=ceph-build.git ansible: start the libvirt services for slave_libvirt Signed-off-by: Alfredo Deza --- diff --git a/ansible/examples/slave_libvirt.yml b/ansible/examples/slave_libvirt.yml index 95139656..0bd627d2 100644 --- a/ansible/examples/slave_libvirt.yml +++ b/ansible/examples/slave_libvirt.yml @@ -200,6 +200,18 @@ # 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 }}" diff --git a/ansible/slave_libvirt.yml b/ansible/slave_libvirt.yml index 95139656..0bd627d2 100644 --- a/ansible/slave_libvirt.yml +++ b/ansible/slave_libvirt.yml @@ -200,6 +200,18 @@ # 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 }}"