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