juwai.consul-alerts

Ansible Role: Consul Alerts

This role helps you install Consul Alerts on an Amazon EC2 or CentOS server.

Requirements

Works with Ansible version 2.0 or newer.

Role Variables

Here are the available variables and their default values (see defaults/main.yml for more details):

consul_alerts_supervisor_enabled

Whether to use Supervisord to manage Consul Alerts. The default value is true.

consul_alerts_version

The version of Consul Alerts to install. The default is 0.3.0.

consul_alerts_url

The source URL for the installation. The default value is set to a template.

consul_alerts_bind_address

The IP address to bind to. The default will come from the consul_bind_address in the consul role.

consul_alerts_port

The port to bind to, with a default value of 8700.

consul_alerts_dir

The directory for installing Consul Alerts files. The default is set to a template (e.g., /home/consul/consul_alerts_0.0.1).

consul_alerts_log_dir

The directory for storing log files. The default is also set to a template (e.g., /home/consul/consul_alerts_0.0.1/logs).

Dependencies

  • juwai.consul
  • juwai.supervisor, only if consul_alerts_supervisor_enabled is true.

Example Playbook

- hosts: servers
  roles:
    - juwai.consul-alerts

License

MIT

Author Information

This role was created in 2016 by Juwai Limited.

Informazioni sul progetto

Ansible role for Consul Alerts

Installa
ansible-galaxy install juwai.consul-alerts
Licenza
mit
Download
994
Proprietario
Where Chinese find international property