monitoring: add 'location' info
This commit is contained in:
parent
8389a18488
commit
ffb7617db8
|
@ -29,6 +29,9 @@ scrape_configs:
|
|||
{% if hostvars[host]['site'] is defined %}
|
||||
site: "{{ hostvars[host]['site'] }}"
|
||||
{% endif %}
|
||||
{% if hostvars[host]['location'] is defined %}
|
||||
location: "{{ hostvars[host]['location'] }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endfor %}
|
||||
|
|
Reference in New Issue