From 70c073122ae50499a778815dd24d2dadda70b61f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20P=C3=A1ral?= Date: Mon, 9 Jul 2018 10:37:51 +0200 Subject: [PATCH] taskotron-trigger: disable critpath downloading on stg --- roles/taskotron/taskotron-trigger/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/taskotron/taskotron-trigger/tasks/main.yml b/roles/taskotron/taskotron-trigger/tasks/main.yml index a7419e0e88..e0a7344088 100644 --- a/roles/taskotron/taskotron-trigger/tasks/main.yml +++ b/roles/taskotron/taskotron-trigger/tasks/main.yml @@ -53,14 +53,14 @@ - name: download critpath list get_url: url={{ trigger_critpath_url }} dest={{ trigger_critpath_file }} mode=0644 owner=fedmsg group=fedmsg - when: deployment_type in ['stg', 'prod'] + when: deployment_type in ['prod'] - name: create a cronjob to download crithpath list as a task-libabigail whitelist cron: name="download crithpath list" special_time=daily job="{ wget -O {{ trigger_critpath_file }} {{ trigger_critpath_url }}; chown fedmsg:fedmsg {{ trigger_critpath_file }}; } >& /dev/null" - when: deployment_type in ['stg', 'prod'] + when: deployment_type in ['prod'] - name: copy tmpfiles.d for trigger distgit cache template: src=tmpfiles.d.trigger.conf.j2 dest=/etc/tmpfiles.d/trigger.conf owner=root group=root mode=0644