From a64b1e8e4fac3a68c5f2314bbef47ed2fc9e1f6f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 25 Aug 2021 16:04:53 -0700 Subject: [PATCH] value: make sure to only start zodbot on value02 now We moved zodbot from value01 (rhel7/python2) to value02 (rhel8/python3). Without this it starts zodbot on 2 hosts and caused problems. Signed-off-by: Kevin Fenzi --- roles/supybot/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/supybot/tasks/main.yml b/roles/supybot/tasks/main.yml index 04a2ad433a..12c51960a5 100644 --- a/roles/supybot/tasks/main.yml +++ b/roles/supybot/tasks/main.yml @@ -162,7 +162,7 @@ - name: enable zodbot service (prod) service: name=zodbot state=started enabled=true - when: env == "production" + when: env == "production" and inventory_hostname.startswith('value02') tags: - config - supybot