kolla-ansible/ansible/roles/prechecks/tasks/main.yml
Vladislav Belogrudov 722185a424 Don't check api_interface for 'deployment' group
'deployment' hosts don't need api interface. Previous fix checked
if hosts belong global groups like [compute] or [control] which
is not correct because uses can create own groups and the check
won't work there at all. Here the logic is reversed - we blacklist
groups that don't need api_interface.

Change-Id: Ibaa94004016ba41a2ae5700c48522e254c6ee239
Closes-Bug: #1732846
2018-02-14 11:53:52 +00:00

13 lines
214 B
YAML

---
- include: port_checks.yml
when:
- inventory_hostname not in groups['deployment']
- include: service_checks.yml
- include: package_checks.yml
- include: user_checks.yml
- include: database_checks.yml