Try this fixed version of make_checkout_seed.

This commit is contained in:
Ralph Bean 2016-02-19 18:11:19 +00:00
parent 3e2f2b496b
commit 401e9b0f6d
2 changed files with 79 additions and 1 deletions

View file

@ -4,8 +4,13 @@
- name: create the destination directory
file: dest=/srv/git_seed owner=root group=root mode=0755 state=directory
- name: install the script and schedule its execution
- name: install the staging version of the script and schedule its execution
copy: src=make-git-checkout-seed.sh.staging dest=/usr/local/bin/make-git-checkout-seed.sh mode=0755
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: >