forgot my logic

This commit is contained in:
Stephen Smoogen 2016-02-26 18:05:46 +00:00
parent 6036a664c2
commit 446a86e073

View file

@ -49,10 +49,10 @@
when: env != "staging"
- name: put in script for syncing on download-ib02
copy: src="{{ files }}/download/sync-up-downloads.sh" dest=/usr/local/bin/sync-up-downloads owner=root group=root mode=755
when: inventory_hostname.startswith = 'download-ib02'
when: inventory_hostname.startswith == 'download-ib02'
- name: put in script for syncing on download-ib01
copy: src="{{ files }}/download/sync-up-downloads.sh.ib01" dest=/usr/local/bin/sync-up-downloads owner=root group=root mode=755
when: inventory_hostname.startswith = 'download-ib01'
when: inventory_hostname.startswith == 'download-ib01'
- name: put in cron job for syncing
copy: src="{{ files }}/download/download-sync.cron" dest=/etc/cron.d/download-sync owner=root group=root mode=644
when: datacenter == 'ibiblio'