forgot my logic
This commit is contained in:
parent
6036a664c2
commit
446a86e073
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue