summaryrefslogtreecommitdiffstats
path: root/ansible
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-29 10:44:39 +0200
commitca0d760c51694dd30aba6a433cb5baa578df78b4 (patch)
tree54bbb0507b6d04303d570b39c7d84d0ec446e621 /ansible
parent653ee9480202dfc1602d672db583f21d2007dfff (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')
-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