Allow the deployment group to be optional

This small change prevents the deployment group from being mandatory.

Change-Id: I5693fbad0d5677ae341121619b6ec2e8738cffb7
This commit is contained in:
Paul Bourke 2018-10-25 16:10:26 +01:00
parent 4f02fdc0cf
commit a080bb1006

View File

@ -1,7 +1,7 @@
---
- include_tasks: port_checks.yml
when:
- inventory_hostname not in groups['deployment']
- inventory_hostname not in groups['deployment']|default([])
- include_tasks: service_checks.yml