Skip to content
Snippets Groups Projects
Commit 722185a4 authored by Vladislav Belogrudov's avatar Vladislav Belogrudov
Browse files

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
parent 151d7fff
No related branches found
No related tags found
No related merge requests found
---
- include: port_checks.yml
when:
- inventory_hostname in groups['control'] or
inventory_hostname in groups['network'] or
inventory_hostname in groups['compute'] or
inventory_hostname in groups['monitoring']
- inventory_hostname not in groups['deployment']
- include: service_checks.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment