Fix the cron job tasks that must be installed on the slaves.

This commit is contained in:
Andrea Dell'Amico 2019-05-01 18:06:47 +02:00
parent 2033f01ee5
commit d56e7be10c
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
user: name={{ jenkins_username }} home={{ jenkins_dest }} shell={{ jenkins_slaves_shell }} generate_ssh_key=yes
- name: Daily cron job to cleanup the /tmp junk
template: src=tmp-cleaner.j2 dest=/etc/cron.daily/{{ item }} owner=root group=root mode=0755
template: src=tmp-cleaner.j2 dest=/etc/cron.daily/jenkins_tmp_cleaner owner=root group=root mode=0755
when: jenkins_slave
tags: [ 'jenkins', 'jenkins_slave' ]