From 24afcc8bd4dfd90a43c879d08e3353309a0cab8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 30 Jun 2025 11:11:55 +0200 Subject: [PATCH] Fix zodbot deployment on value01.rdu3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- playbooks/groups/value.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/playbooks/groups/value.yml b/playbooks/groups/value.yml index f05ac1c033..a99f7b93ca 100644 --- a/playbooks/groups/value.yml +++ b/playbooks/groups/value.yml @@ -26,12 +26,14 @@ owner_user: daemon, owner_group: daemon, service: ursabot, - when: inventory_hostname.startswith('value02.stg')} + when: env == "staging" + } - {role: keytab/service, owner_user: daemon, owner_group: daemon, service: zodbot, - when: inventory_hostname.startswith('value02.iad2')} + when: env == "production" + } - collectd/base - apache - supybot