openshift-apps/coreos-ostree-importer: make the tasks into pre_tasks

This commit is contained in:
Dusty Mabe
2020-02-18 17:05:49 -05:00
committed by Pierre-Yves Chibon
parent 870eee6e99
commit e993bfdfb2

View File

@@ -16,9 +16,9 @@
- fedora_messaging_key_file: "coreos-ostree-importer-fedora-messaging-key.pem"
# Set the fedora_messaging_routing_keys var based on the environment
tasks:
pre_tasks:
- set_fact:
fedora_messaging_routing_keys: "org.fedoraproject.stg.coreos.build.request.ostree-import"
fedora_messaging_routing_keys: "org.fedoraproject.stg.coreos.build.request.ostree-import"
when: env == 'staging'
- set_fact:
fedora_messaging_routing_keys: "org.fedoraproject.prod.coreos.build.request.ostree-import"