mirror of
https://github.com/luzifer-ansible/instance-status.git
synced 2024-12-26 19:11:16 +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 changed files with 4 additions and 0 deletions
|
@ -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 a new issue