Modular Ansible Role for deploying and configuring Monit
- CentOS 7.x or later
- Debian 9 or later
- Ubuntu 16.04 LTS or later
None.
Available variables are listed below with their default values (you can also see defaults/main.yml
)
Variable | Description |
---|---|
monit_daemon | Default: monit |
monit_executable_path | Default: /usr/bin/monit |
monit_config_dir | Default: /etc/monit.d/ |
monitored_services | Default: ['httpd', 'mariadb', 'nginx', 'php-fpm', 'redis'] |
monit_systemd_restart | Default: true |
systemd_restart_setting | Default: on-failure |
- hosts: www
roles:
- role: monit
GPLv3