summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/openshift_prometheus.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/common/openshift-cluster/openshift_prometheus.yml')
-rw-r--r--playbooks/common/openshift-cluster/openshift_prometheus.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/playbooks/common/openshift-cluster/openshift_prometheus.yml b/playbooks/common/openshift-cluster/openshift_prometheus.yml
index a979c0c00..ed89d3bde 100644
--- a/playbooks/common/openshift-cluster/openshift_prometheus.yml
+++ b/playbooks/common/openshift-cluster/openshift_prometheus.yml
@@ -1,9 +1,6 @@
---
-- include: std_include.yml
-
-- name: OpenShift Prometheus
+- name: Create Hosted Resources - openshift_prometheus
hosts: oo_first_master
roles:
- - openshift_prometheus
- vars:
- openshift_prometheus_state: present
+ - role: openshift_prometheus
+ when: openshift_hosted_prometheus_deploy | default(False) | bool