Only run the cron job on one server
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
abaf67b66c
commit
bfe6cf9d02
1 changed files with 3 additions and 1 deletions
|
@ -44,11 +44,13 @@
|
|||
- config
|
||||
|
||||
|
||||
- name: Deploy the stage users cleanup sript
|
||||
- name: Deploy the stage users cleanup script
|
||||
copy:
|
||||
src: cleanup-stage-users.py
|
||||
dest: /etc/cron.daily/cleanup-stage-users
|
||||
mode: 0755
|
||||
# Only run the cron job on one server
|
||||
run_once: yes
|
||||
tags:
|
||||
- ipa/server
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue