Ansible/roles/sensu.sensu/templates/sensu-redis.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

15 lines
343 B
Django/Jinja

{
"redis": {
{% if sensu_redis_password %}
"password": "{{ sensu_redis_password }}",
{% endif %}
{% if sensu_redis_sentinels %}
"sentinels": {{ sensu_redis_sentinels | to_nice_json }},
"master": "{{ sensu_redis_master_name }}"
{% else %}
"host": "{{ sensu_redis_host }}",
"port": {{ sensu_redis_port }}
{% endif %}
}
}