Fix up conditional

This commit is contained in:
Kevin Fenzi 2016-10-05 18:42:44 +00:00
parent 11a0719c9e
commit 9ca2bc3dfa

View file

@ -22,7 +22,7 @@
- fas_client
- nagios/client
- hosts
- { role: postgresql_server, when: not inventory_hostname.startswith(('db-koji01.stg', 'db-koji02.stg'))
- { role: postgresql_server, when: not inventory_hostname == "db-koji01.stg.phx2.fedoraproject.org" or not inventory_hostname == "db-koji02.stg.phx2.fedoraproject.org" }
- collectd/base
- collectd/postgres # This requires a 'databases' var to be set in host_vars
- sudo