Add role dependencies via meta/main.yml
- alloy depends on prometheus and loki - grafana depends on prometheus and loki - loki has no dependencies Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
09c432e0c1
commit
7fd601d864
3 changed files with 10 additions and 0 deletions
4
ansible/roles/alloy/meta/main.yml
Normal file
4
ansible/roles/alloy/meta/main.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
- role: prometheus
|
||||
- role: loki
|
||||
4
ansible/roles/grafana/meta/main.yml
Normal file
4
ansible/roles/grafana/meta/main.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
- role: prometheus
|
||||
- role: loki
|
||||
2
ansible/roles/loki/meta/main.yml
Normal file
2
ansible/roles/loki/meta/main.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
dependencies: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue