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 <dgallowa@redhat.com>
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:
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