From: David Galloway Date: Thu, 2 Nov 2017 18:26:09 +0000 (-0400) Subject: ansible: always update slave.jar X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F903%2Fhead;p=ceph-build.git ansible: always update slave.jar Makes sure latest version of JNLP is being used. Primarily useful when re-running the playbook against a static slave. Signed-off-by: David Galloway --- diff --git a/ansible/examples/slave_libvirt_static.yml b/ansible/examples/slave_libvirt_static.yml index 70a0d7b9..44cfeef7 100644 --- a/ansible/examples/slave_libvirt_static.yml +++ b/ansible/examples/slave_libvirt_static.yml @@ -310,6 +310,7 @@ get_url: url: "{{ api_uri }}/jnlpJars/slave.jar" dest: "/home/{{ jenkins_user }}/slave.jar" + force: yes - name: install the systemd unit file for jenkins template: diff --git a/ansible/examples/slave_static.yml b/ansible/examples/slave_static.yml index 828d5226..46f7fd24 100644 --- a/ansible/examples/slave_static.yml +++ b/ansible/examples/slave_static.yml @@ -295,6 +295,7 @@ get_url: url: "{{ api_uri }}/jnlpJars/slave.jar" dest: "/home/{{ jenkins_user }}/slave.jar" + force: yes when: use_jnlp - name: install the systemd unit file for jenkins