#######################################################################################################
This repository and the role associated are deprecated in favor of the Manala Ansible Collection
You will find informations on its usage on the collection repository
#######################################################################################################
❗ Report issues and send Pull Requests in the main Ansible Role repository ❗
This role will deal with the setup of Sensu Go.
It's part of the Manala Ansible stack but can be used as a stand alone component.
This role is made to work with the sensu go official packages, available on the sensu go repository. Please use the manala.apt role to handle it properly.
manala_apt_preferences:
- sensu-go@sensu-go
None.
Using ansible galaxy cli:
ansible-galaxy install manala.sensu_go
Using ansible galaxy requirements file:
- src: manala.sensu_go
Name | Type | Description |
---|---|---|
sensu go restart |
Service | Restart all installed sensu go services |
Name | Default | Type | Description |
---|---|---|---|
manala_sensu_go_install_packages |
~ | Array | Dependency packages to install |
manala_sensu_go_install_packages_default |
['sensu-go-backend', sensu-go-cli'] | Array | Default dependency packages to install |
manala_sensu_go_backend |
false | Array | Additional package to install ('sensu-go-backend' if set to true) |
manala_sensu_go_backend_config_file |
/etc/sensu/backend.yml | String | Path to backend config file |
manala_sensu_go_backend_config |
{} | Array | Configuration directives for sensu-backend |
manala_sensu_go_agent_config_file |
/etc/sensu/agent.yml | String | Path to agent config file |
manala_sensu_go_agent_config |
{} | Array | Configuration directives for sensu-agent |
manala_sensu_go_services |
{} | Array | Enable and start sensu services (sensu-backend, sensu-agent) |
manala_sensu_go_backend: true
manala_sensu_go_backend_config:
- state-dir: /tmp
manala_sensu_go_agent_config:
- backend-url: ['ws://127.0.0.1:8081']
- subscriptions: ['linux', 'mysql', 'foo']
- hosts: sensu
roles:
- { role: manala.sensu_go }
MIT
Manala (http://www.manala.io/)