From 22f2cb05414abd70d460b3e5e1ee77b0834c621a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 12 Aug 2016 19:44:48 +0000 Subject: [PATCH] Fix conditional --- roles/fedmsg/base/templates/logging.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/fedmsg/base/templates/logging.py.j2 b/roles/fedmsg/base/templates/logging.py.j2 index 184b45ce0e..55e0656e57 100644 --- a/roles/fedmsg/base/templates/logging.py.j2 +++ b/roles/fedmsg/base/templates/logging.py.j2 @@ -176,7 +176,7 @@ config = dict( formatters=dict( bare={ "datefmt": "%Y-%m-%d %H:%M:%S", - {% if inventory_hostname.startswith('bodhi-backend01','bodhi-backend03') %} + {% if ansible_hostname != 'bodhi-backend02' %} # Here we use a different format just so we can include # threadName. We set the threadName in the bodhi masher to some # useful strings that will tell us which branch is doing what.