From 27a986ab85d754a2b1373e57c285aad9208952be Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Fri, 15 Jan 2021 16:08:52 +0000 Subject: [PATCH] koji: enable kojira run on boot in koji02 only --- roles/koji_hub/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/koji_hub/tasks/main.yml b/roles/koji_hub/tasks/main.yml index 5d5ddc5556..29e20d403c 100644 --- a/roles/koji_hub/tasks/main.yml +++ b/roles/koji_hub/tasks/main.yml @@ -420,12 +420,12 @@ - service - koji_hub -- name: Make sure kojira is set to not run on boot (controlled by keepalived) - service: name=kojira enabled=no +- name: Make sure kojira is set to run on boot + service: name=kojira enabled=yes tags: - service - koji_hub - when: env != 'staging' and ansible_hostname.startswith('koji') + when: ansible_hostname.startswith('koji02') - name: install koji-gc.conf template: src=koji-gc.conf.j2 dest=/etc/koji-gc/koji-gc.conf