summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-prometheus/private
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-22 10:59:04 -0500
committerGitHub <noreply@github.com>2017-11-22 10:59:04 -0500
commitda85fd6aa7d71f97bfcaad3a2003921a5581a067 (patch)
treef486fb4f71b84c01230e505e90edc09517cbb3c2 /playbooks/openshift-prometheus/private
parent21823fcfbe1a435264c3574806c6f38dd8ddc57f (diff)
parenta495780e61e824dddeaf35b9d58b6b37e300505c (diff)
downloadopenshift-da85fd6aa7d71f97bfcaad3a2003921a5581a067.tar.gz
openshift-da85fd6aa7d71f97bfcaad3a2003921a5581a067.tar.bz2
openshift-da85fd6aa7d71f97bfcaad3a2003921a5581a067.tar.xz
openshift-da85fd6aa7d71f97bfcaad3a2003921a5581a067.zip
Merge pull request #6217 from mtnbikenc/consolidate-openshift-hosted
Playbook Consolidation - openshift-hosted
Diffstat (limited to 'playbooks/openshift-prometheus/private')
-rw-r--r--playbooks/openshift-prometheus/private/config.yml29
l---------playbooks/openshift-prometheus/private/roles1
2 files changed, 30 insertions, 0 deletions
diff --git a/playbooks/openshift-prometheus/private/config.yml b/playbooks/openshift-prometheus/private/config.yml
new file mode 100644
index 000000000..d13261a7a
--- /dev/null
+++ b/playbooks/openshift-prometheus/private/config.yml
@@ -0,0 +1,29 @@
+---
+- name: Prometheus Install Checkpoint Start
+ hosts: all
+ gather_facts: false
+ tasks:
+ - name: Set Prometheus install 'In Progress'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_prometheus:
+ status: "In Progress"
+ start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
+
+- name: OpenShift Prometheus
+ hosts: oo_first_master
+ roles:
+ - role: openshift_prometheus
+
+- name: Prometheus Install Checkpoint End
+ hosts: all
+ gather_facts: false
+ tasks:
+ - name: Set Prometheus install 'Complete'
+ run_once: true
+ set_stats:
+ data:
+ installer_phase_prometheus:
+ status: "Complete"
+ end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
diff --git a/playbooks/openshift-prometheus/private/roles b/playbooks/openshift-prometheus/private/roles
new file mode 120000
index 000000000..20c4c58cf
--- /dev/null
+++ b/playbooks/openshift-prometheus/private/roles
@@ -0,0 +1 @@
+../../../roles \ No newline at end of file