mirror of
https://github.com/luzifer-ansible/instance-status.git
synced 2024-09-08 01:39:08 +00:00
Fix: Don't write empty checks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
18bfd7f81f
commit
f84d53c076
@ -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 %}
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user