diff options
| author | Ralph Bean <rbean@redhat.com> | 2016-02-19 18:11:19 +0000 |
|---|---|---|
| committer | Ralph Bean <rbean@redhat.com> | 2016-02-19 18:11:19 +0000 |
| commit | 401e9b0f6d4430e1b7b14c7b3d98bc89ba4b854c (patch) | |
| tree | d735a15ad6e3418e6f6571d5c04550af62895ef8 /roles/git/make_checkout_seed/tasks | |
| parent | 3e2f2b496b617ee8a483878987b660ed60347795 (diff) | |
| download | ansible-401e9b0f6d4430e1b7b14c7b3d98bc89ba4b854c.tar.gz ansible-401e9b0f6d4430e1b7b14c7b3d98bc89ba4b854c.tar.xz ansible-401e9b0f6d4430e1b7b14c7b3d98bc89ba4b854c.zip | |
Try this fixed version of make_checkout_seed.
Diffstat (limited to 'roles/git/make_checkout_seed/tasks')
| -rw-r--r-- | roles/git/make_checkout_seed/tasks/main.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/roles/git/make_checkout_seed/tasks/main.yml b/roles/git/make_checkout_seed/tasks/main.yml index 4bc4609d9..461bb56f5 100644 --- a/roles/git/make_checkout_seed/tasks/main.yml +++ b/roles/git/make_checkout_seed/tasks/main.yml @@ -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: > |
