Don't install config.cfg on koschei-backend-stg

This commit is contained in:
Michael Simacek
2016-04-15 00:17:43 +02:00
parent e7984c4e5b
commit d57cd51553

View File

@@ -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: