diff --git a/ansible/roles/prechecks/tasks/main.yml b/ansible/roles/prechecks/tasks/main.yml index 8614d29e1c..2f0f8684b1 100644 --- a/ansible/roles/prechecks/tasks/main.yml +++ b/ansible/roles/prechecks/tasks/main.yml @@ -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