Since zanata is down, this cron job no longer work

This commit is contained in:
Michael Scherer 2021-01-14 16:19:05 +01:00 committed by misc
parent 8548f299ca
commit f50cad1870

View file

@ -58,7 +58,35 @@
- fedora-web - fedora-web
when: env == 'staging' when: env == 'staging'
- name: Copy syncStatic script (stg)
when: env == "staging"
copy: >
src=syncStatic.stg.sh dest=/usr/local/bin/syncStatic owner=root group=root
mode=0755
tags:
- fedora-web
- name: Copy syncStatic script (prod)
when: env == "production"
copy: >
src=syncStatic.sh dest=/usr/local/bin/syncStatic owner=root group=root
mode=0755
tags:
- fedora-web
- name: Install the syncStatic and syncTranslations cronjobs
copy: >
src={{item}}.cron dest=/etc/cron.d/{{item}}.cron
owner=root group=root mode=0644
with_items:
- syncStatic
tags:
- fedora-web
- cron
- name: Remove the syncTranslations cronjob - name: Remove the syncTranslations cronjob
file: file:
path: /etc/cron.d/syncTranslations.cron path: /etc/cron.d/syncTranslations.cron
state: absent state: absent
tags:
- cron