Verified Commit bdc16022 authored by Adrian Schollmeyer's avatar Adrian Schollmeyer
Browse files

templates: Update formatting

parent 4e8859d4
......@@ -24,10 +24,10 @@ object Host "{{ vars.name }}" {
// === SYSTEM HEALTH CHECKS ===
{%- if vars.apt %}vars.apt_{{ vars.apt }} = {}{% endif %}
{% for check in vars.procs %}
{%- for check in vars.procs %}
vars.procs["{{ check }}"] = {}{% endfor %}
{% for disk in vars.smart %}
{%- for disk in vars.smart %}
vars.smart["{{ disk }}"] = {}{% endfor %}
{%- for disk in vars.smart_sectors %}
vars.smart_sectors["{{ disk }}"] = {}{% endfor %}
......@@ -40,3 +40,4 @@ object Host "{{ vars.name }}" {
import "netbox-generated-host-extras"
}
// vim: sw=8 ts=8 noexpandtab
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment