mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 12:32:50 +08:00
Don't install config.cfg on koschei-backend-stg
This commit is contained in:
@@ -22,15 +22,14 @@
|
||||
- packages
|
||||
|
||||
- name: install config files
|
||||
when: env == "staging"
|
||||
template: >
|
||||
src="{{ item }}.j2"
|
||||
dest="/etc/koschei/{{ item }}"
|
||||
owner=koschei
|
||||
group=koschei
|
||||
mode=0400
|
||||
# remove config.cfg after split-upgrade
|
||||
with_items:
|
||||
- config.cfg
|
||||
- config-admin.cfg
|
||||
- config-backend.cfg
|
||||
notify:
|
||||
@@ -42,6 +41,25 @@
|
||||
- koschei
|
||||
- config
|
||||
|
||||
- name: install config files
|
||||
when: env != "staging"
|
||||
template: >
|
||||
src="{{ item }}.j2"
|
||||
dest="/etc/koschei/{{ item }}"
|
||||
owner=koschei
|
||||
group=koschei
|
||||
mode=0400
|
||||
with_items:
|
||||
- config.cfg
|
||||
notify:
|
||||
- restart koschei-polling
|
||||
- restart koschei-resolver
|
||||
- restart koschei-scheduler
|
||||
- restart koschei-watcher
|
||||
tags:
|
||||
- koschei
|
||||
- config
|
||||
|
||||
- name: install koschei fedmsg config
|
||||
copy: src=koschei.py dest=/etc/fedmsg.d/koschei.py
|
||||
notify:
|
||||
|
||||
Reference in New Issue
Block a user