16 lines
330 B
Django/Jinja
16 lines
330 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
init_config: null
|
|
|
|
instances:
|
|
- built_by: System
|
|
name: load_stats
|
|
dimensions:
|
|
{% if inventory_hostname in groups['all_containers'] %}
|
|
node_type: container
|
|
physical_host: {{ physical_host }}
|
|
{% elif inventory_hostname in groups['hosts'] %}
|
|
node_type: physical_host
|
|
{% endif %}
|
|
|