fix: move observability gitops gating to role level
This commit is contained in:
@@ -99,18 +99,18 @@
|
||||
- name: Deploy observability stack
|
||||
hosts: control_plane[0]
|
||||
become: true
|
||||
when: not (observability_gitops_enabled | default(true) | bool)
|
||||
|
||||
roles:
|
||||
- observability
|
||||
- role: observability
|
||||
when: not (observability_gitops_enabled | default(true) | bool)
|
||||
|
||||
- name: Provision Grafana content
|
||||
hosts: control_plane[0]
|
||||
become: true
|
||||
when: not (observability_gitops_enabled | default(true) | bool)
|
||||
|
||||
roles:
|
||||
- observability-content
|
||||
- role: observability-content
|
||||
when: not (observability_gitops_enabled | default(true) | bool)
|
||||
|
||||
- name: Finalize
|
||||
hosts: localhost
|
||||
|
||||
Reference in New Issue
Block a user