forked from ISTI-ansible-roles/ansible-roles
Fix the cron job tasks that must be installed on the slaves.
This commit is contained in:
parent
2033f01ee5
commit
d56e7be10c
|
@ -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' ]
|
||||
|
|
Loading…
Reference in New Issue