See if we can really disable this on staging (which has a ro lookaside mount from prod now)
This commit is contained in:
parent
71845a2841
commit
83b4a6c864
1 changed files with 3 additions and 0 deletions
|
@ -3,9 +3,11 @@
|
|||
|
||||
- name: create the destination directory
|
||||
file: dest=/srv/git_seed owner=root group=root mode=0755 state=directory
|
||||
when: env != 'staging'
|
||||
|
||||
- name: install the production version of the script and schedule its execution
|
||||
copy: src=make-git-checkout-seed.sh dest=/usr/local/bin/make-git-checkout-seed.sh mode=0755
|
||||
when: env != 'staging'
|
||||
|
||||
- name: install cron job.
|
||||
cron: >
|
||||
|
@ -13,3 +15,4 @@
|
|||
minute=0 hour=2
|
||||
user=root
|
||||
job='/usr/local/bin/lock-wrapper make-git-checkout-seed "/usr/local/bin/make-git-checkout-seed.sh | /usr/local/bin/nag-once make-git-checkout-seed 1d 2>&1"'
|
||||
when: env != 'staging'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue