See if we can really disable this on staging (which has a ro lookaside mount from prod now)

This commit is contained in:
Kevin Fenzi 2016-08-11 15:55:21 +00:00
parent 71845a2841
commit 83b4a6c864

View file

@ -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'