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