summaryrefslogtreecommitdiffstats
path: root/ansible/kube_prometheus.yml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-06-08 15:33:10 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-06-08 15:33:10 +0200
commit55e4063208712b24e83beaa33c1e1cb2dbb1f412 (patch)
treeaadd9d15433ec61168ca4a9b0a07cb19bc6a54cb /ansible/kube_prometheus.yml
parent01daa9c47b8906309bab63068c3d28c2ac16b448 (diff)
[ANSIBLE] Play the 'k8s-persistent-volume' role in 'kube_prometheus' playbook
Change-Id: I754e2f29a9e721feefcb063be3575c3ef9d1599f Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/kube_prometheus.yml')
-rw-r--r--ansible/kube_prometheus.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/kube_prometheus.yml b/ansible/kube_prometheus.yml
index 89408bfb..d30004b9 100644
--- a/ansible/kube_prometheus.yml
+++ b/ansible/kube_prometheus.yml
@@ -1,5 +1,9 @@
---
- name: Deploy kube-prometheus stack
hosts: infrastructure
+ pre_tasks:
+ - name: Include "kubernetes" group variables # k8s-persistent-volume role needs 'nfs_mount_path'
+ include_vars: group_vars/kubernetes.yml
roles:
+ - k8s-persistent-volume
- kube-prometheus-stack