fix conditional

This commit is contained in:
Kevin Fenzi 2016-09-04 16:30:55 +00:00
parent 473c64467d
commit 4f6a15897d

View file

@ -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 inventory_hostname.startswith(('bodhi-backend01', 'bodhi-backend03')) %}
# 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.