koji: enable kojira run on boot in koji02 only
This commit is contained in:
parent
4ad5c162b6
commit
27a986ab85
1 changed files with 3 additions and 3 deletions
|
@ -420,12 +420,12 @@
|
||||||
- service
|
- service
|
||||||
- koji_hub
|
- koji_hub
|
||||||
|
|
||||||
- name: Make sure kojira is set to not run on boot (controlled by keepalived)
|
- name: Make sure kojira is set to run on boot
|
||||||
service: name=kojira enabled=no
|
service: name=kojira enabled=yes
|
||||||
tags:
|
tags:
|
||||||
- service
|
- service
|
||||||
- koji_hub
|
- koji_hub
|
||||||
when: env != 'staging' and ansible_hostname.startswith('koji')
|
when: ansible_hostname.startswith('koji02')
|
||||||
|
|
||||||
- name: install koji-gc.conf
|
- name: install koji-gc.conf
|
||||||
template: src=koji-gc.conf.j2 dest=/etc/koji-gc/koji-gc.conf
|
template: src=koji-gc.conf.j2 dest=/etc/koji-gc/koji-gc.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue