From: Bartek Grzybowski Date: Tue, 8 Jun 2021 13:33:10 +0000 (+0200) Subject: [ANSIBLE] Play the 'k8s-persistent-volume' role in 'kube_prometheus' playbook X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ca0d760c51694dd30aba6a433cb5baa578df78b4;p=oom%2Foffline-installer.git [ANSIBLE] Play the 'k8s-persistent-volume' role in 'kube_prometheus' playbook Change-Id: I754e2f29a9e721feefcb063be3575c3ef9d1599f Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski --- 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