Ansible/roles/sensu.sensu/templates/client.json.j2
James Tombleson b7facd7394 Role Adjustments
Added Sensu
Moved default role downloads to ./roles
Added unattended-upgrades
2019-04-29 07:08:11 -07:00

16 lines
533 B
Django/Jinja

{
"client": {
"name": "{{ sensu_client_name }}",
"address": "{{ ansible_default_ipv4['address'] }}",
"subscriptions": {{ sensu_client_subscriptions | to_nice_json(indent=6) }},
"keepalive": {
"handlers": {{ sensu_client_keepalive_handlers | to_nice_json(indent=8) }},
"thresholds": {
"warning": {{ sensu_client_keepalive_threshold_warning }},
"critical": {{ sensu_client_keepalive_threshold_critical }}
}
},
"safe_mode": {{ sensu_client_safe_mode | bool | lower }}
}
}