summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-22 14:16:03 -0500
committerRussell Teague <rteague@redhat.com>2017-11-22 14:16:03 -0500
commit236501cf3dc1fce2ab3e78af1e22079b436c3d1e (patch)
treee310e4fb34fcac503a076f0c71c8e4ea7298bf80
parent71e090a7a301ffd5ccef6bb78a28bfae96130ce6 (diff)
downloadopenshift-236501cf3dc1fce2ab3e78af1e22079b436c3d1e.tar.gz
openshift-236501cf3dc1fce2ab3e78af1e22079b436c3d1e.tar.bz2
openshift-236501cf3dc1fce2ab3e78af1e22079b436c3d1e.tar.xz
openshift-236501cf3dc1fce2ab3e78af1e22079b436c3d1e.zip
Include Deprecation - openshift-prometheus
-rw-r--r--playbooks/openshift-prometheus/config.yml4
-rw-r--r--roles/openshift_prometheus/tasks/main.yaml4
2 files changed, 4 insertions, 4 deletions
diff --git a/playbooks/openshift-prometheus/config.yml b/playbooks/openshift-prometheus/config.yml
index 8ee57ce8d..c7814207c 100644
--- a/playbooks/openshift-prometheus/config.yml
+++ b/playbooks/openshift-prometheus/config.yml
@@ -1,4 +1,4 @@
---
-- include: ../init/main.yml
+- import_playbook: ../init/main.yml
-- include: private/config.yml
+- import_playbook: private/config.yml
diff --git a/roles/openshift_prometheus/tasks/main.yaml b/roles/openshift_prometheus/tasks/main.yaml
index a62babaa7..38798e1f5 100644
--- a/roles/openshift_prometheus/tasks/main.yaml
+++ b/roles/openshift_prometheus/tasks/main.yaml
@@ -20,10 +20,10 @@
mode: 0755
changed_when: False
-- include: install_prometheus.yaml
+- include_tasks: install_prometheus.yaml
when: openshift_prometheus_state == 'present'
-- include: uninstall_prometheus.yaml
+- include_tasks: uninstall_prometheus.yaml
when: openshift_prometheus_state == 'absent'
- name: Delete temp directory