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
|
- config
|
||||||
|
|
||||||
|
|
||||||
- name: Deploy the stage users cleanup sript
|
- name: Deploy the stage users cleanup script
|
||||||
copy:
|
copy:
|
||||||
src: cleanup-stage-users.py
|
src: cleanup-stage-users.py
|
||||||
dest: /etc/cron.daily/cleanup-stage-users
|
dest: /etc/cron.daily/cleanup-stage-users
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
# Only run the cron job on one server
|
||||||
|
run_once: yes
|
||||||
tags:
|
tags:
|
||||||
- ipa/server
|
- ipa/server
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue