ODCS: Set MAILTO using cronvar module.
This commit is contained in:
parent
7f44408383
commit
6ccfaf1352
1 changed files with 9 additions and 2 deletions
|
@ -224,9 +224,16 @@
|
||||||
dest: /etc/releng-odcs-oidc-token
|
dest: /etc/releng-odcs-oidc-token
|
||||||
when: inventory_hostname.startswith('odcs-backend-releng')
|
when: inventory_hostname.startswith('odcs-backend-releng')
|
||||||
|
|
||||||
|
- name: Set MAILTO cronvar
|
||||||
|
cronvar:
|
||||||
|
name: MAILTO
|
||||||
|
value: releng-cron@lists.fedoraproject.org
|
||||||
|
when: inventory_hostname.startswith('odcs-backend-releng01')
|
||||||
|
|
||||||
|
|
||||||
- name: Set cronjob to execute ELN periodic compose
|
- name: Set cronjob to execute ELN periodic compose
|
||||||
cron:
|
cron:
|
||||||
name: "ELN periodic compose"
|
name: "ELN periodic compose"
|
||||||
minute: 0
|
minute: "0"
|
||||||
job: "MAILTO=releng-cron@lists.fedoraproject.org\nodcs --token=/etc/releng-odcs-oidc-token create-raw-config --compose-type=production --label=Alpha-0.1 eln eln"
|
job: "odcs --token=/etc/releng-odcs-oidc-token create-raw-config --compose-type=production --label=Alpha-0.1 eln eln"
|
||||||
when: inventory_hostname.startswith('odcs-backend-releng01')
|
when: inventory_hostname.startswith('odcs-backend-releng01')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue