feat: initial installation role for grafana
This commit is contained in:
28
README.md
Normal file
28
README.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# ansible-role-grafana
|
||||
|
||||
Installs Grafana on Debian/Ubuntu (via apt.grafana.com) and RHEL/Fedora
|
||||
(via rpm.grafana.com). Installs the OSS edition by default.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Ansible >= 2.14
|
||||
|
||||
## Role Variables
|
||||
|
||||
| Variable | Default | Description |
|
||||
|---|---|---|
|
||||
| `grafana_package` | `grafana` | Package name (`grafana` or `grafana-enterprise`) |
|
||||
| `grafana_service_enabled` | `true` | Enable service at boot |
|
||||
| `grafana_service_state` | `started` | Service state after installation |
|
||||
|
||||
## Example Playbook
|
||||
|
||||
```yaml
|
||||
- hosts: servers
|
||||
roles:
|
||||
- role: ansible-role-grafana
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user