ODCS: Setup ELN periodic compose.

This commit is contained in:
Jan Kaluza 2020-05-04 13:39:02 +02:00
parent ef4b169b40
commit 9880d563b5

View file

@ -223,3 +223,10 @@
src: "{{private}}/files/releng/{{env}}/releng-odcs-oidc-token"
dest: /etc/releng-odcs-oidc-token
when: inventory_hostname.startswith('odcs-backend-releng')
- name: Set cronjob to execute ELN periodic compose
cron:
name: "ELN periodic compose"
special_time: hourly
job: "odcs --token=/etc/releng-odcs-oidc-token create-raw-config --compose-type=production --label=Alpha eln eln"
when: inventory_hostname.startswith('odcs-backend-releng01')