Add new roles for monitoring
This commit is contained in:
14
ansible/roles/grafana/tasks/main.yml
Normal file
14
ansible/roles/grafana/tasks/main.yml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Install Grafana
|
||||
tags: grafana-install
|
||||
ansible.builtin.package:
|
||||
name: 'grafana'
|
||||
state: latest
|
||||
|
||||
- name: Enable Grafana service
|
||||
tags: grafana-enable
|
||||
ansible.builtin.service:
|
||||
name: 'grafana'
|
||||
state: started
|
||||
enabled: yes
|
Reference in New Issue
Block a user