mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 06:48:33 +01:00
update: monitoring master stucture
This commit is contained in:
16
roles/monitoring-master/tasks/grafana.yaml
Normal file
16
roles/monitoring-master/tasks/grafana.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
- name: Create Compose Directory
|
||||
file:
|
||||
path: /opt/
|
||||
state: directory
|
||||
|
||||
- name: Create Data Volume Directory
|
||||
file:
|
||||
path: /var/grafana/
|
||||
state: directory
|
||||
owner: 472 # grafana docker uid
|
||||
group: root
|
||||
|
||||
- name: Copy Grafana Compose file
|
||||
template:
|
||||
src: grafana.yaml.j2
|
||||
dest: /opt/
|
||||
Reference in New Issue
Block a user