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 <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-08-25 16:04:53 -07:00
parent bb62cec8f8
commit a64b1e8e4f

View file

@ -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