From ad789824877a4fe6115153df43f33f3c22b498ff Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 15 Oct 2019 17:41:33 +0200 Subject: [PATCH] resultsdb: don't overrides settings in ci_resultdb... Signed-off-by: Pierre-Yves Chibon --- roles/ci_resultsdb/tasks/main.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/roles/ci_resultsdb/tasks/main.yml b/roles/ci_resultsdb/tasks/main.yml index 42305dd710..c6b7ac042a 100644 --- a/roles/ci_resultsdb/tasks/main.yml +++ b/roles/ci_resultsdb/tasks/main.yml @@ -38,10 +38,14 @@ owner=root group=root mode=0644 with_items: - { file: listener.cfg, location: /etc/ci-resultsdb-listener/ } - - { file: endpoints.py, location: /etc/fedmsg.d/ } - - { file: ci-resultsdb-listener.py, location: /etc/fedmsg.d/ } - - { file: settings.py, location: /etc/resultsdb/ } - - { file: cert.conf, location: /etc/httpd/conf.d/ } + - { file: endpoints.py, location: /etc/fedmsg.d/, + when: inventory_hostname != "resultsdb-stg01.qa.fedoraproject.org" } + - { file: ci-resultsdb-listener.py, location: /etc/fedmsg.d/, + when: inventory_hostname != "resultsdb-stg01.qa.fedoraproject.org" } + - { file: settings.py, location: /etc/resultsdb/, + when: inventory_hostname != "resultsdb-stg01.qa.fedoraproject.org" } + - { file: cert.conf, location: /etc/httpd/conf.d/, + when: inventory_hostname != "resultsdb-stg01.qa.fedoraproject.org" } notify: - reload httpd