mateothegreat.sensu_go_backend
Role Name
=========
Here is a short description of what this role does.
Requirements
List any needed tools or packages that aren’t included with Ansible or this role. For example, if the role needs the EC2 module, mention that the boto
package is necessary.
Role Variables
Explain the variables you can set for this role. Include those in defaults/main.yml
, vars/main.yml
, and any that can be set through parameters. Also, mention any variables taken from other roles or a wider context (like hostvars, group vars, etc.).
Dependencies
List any other roles from Galaxy that this role depends on, along with any parameters that should be set for those roles.
Example Playbook
It's helpful to provide an example of how to use your role, including any variables that might be passed in. Here’s a sample:
- hosts: monitoring
roles:
- role: "mateothegreat.sensu_go_backend"
vars:
sensu_backend:
delete_if_exists: "true"
namespace: "default"
state_dir: "/var/lib/sensu/sensu-backend"
auth:
username: "admin"
password: "supersecret"
api:
url: "http://localhost:8080"
port: "8080"
agent:
port: "8081"
dashboard:
port: "8082"
default:
interval: "15"
timeout: "10"
handlers:
- "slack"
assets:
- name: "sensu/sensu-ruby-runtime"
rename: "sensu-ruby-runtime"
namespaces: [ "apps", "cam", "mlfabric", "pulse-corona", "relationalgraph", "sandbox" ]
# More assets...
checks:
- name: "disk"
namespaces: [ "default", "cam", "pulse-corona", "relationalgraph", "mlfabric" ]
command: "check-disk-usage.rb -w 70 -c 80"
assets: [ "disk" ]
subscriptions: [ "all" ]
# More checks...
handlers:
- name: "opsgenie"
env_vars:
- "OPSGENIE_AUTHTOKEN=<your api token>"
- "OPSGENIE_TEAM=<your team>"
filters:
- "is_incident"
License
MIT License
Author Information
Feel free to provide contact info or a website here. (No HTML allowed.)
ansible-galaxy install mateothegreat.sensu_go_backend