diff --git a/templates/checks.yml b/templates/checks.yml index 375be31..ecca824 100644 --- a/templates/checks.yml +++ b/templates/checks.yml @@ -1,10 +1,14 @@ --- # {{ ansible_managed }} +{% if instance_status_global_checks | length > 0 %} # Global checks {{ instance_status_global_checks | to_nice_yaml }} +{% endif %} +{% if instance_status_checks | length > 0 %} # Instance checks {{ instance_status_checks | to_nice_yaml }} +{% endif %} ...