diff options
author | Russell Teague <rteague@redhat.com> | 2017-11-21 16:47:48 -0500 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-11-22 08:14:04 -0500 |
commit | a495780e61e824dddeaf35b9d58b6b37e300505c (patch) | |
tree | 16dd17c673dbce1461bb904f9a67f91c40f415b5 /playbooks/openshift-prometheus | |
parent | 7c6e0712b6bb57dcce6a055d4f88a2234449141f (diff) | |
download | openshift-a495780e61e824dddeaf35b9d58b6b37e300505c.tar.gz openshift-a495780e61e824dddeaf35b9d58b6b37e300505c.tar.bz2 openshift-a495780e61e824dddeaf35b9d58b6b37e300505c.tar.xz openshift-a495780e61e824dddeaf35b9d58b6b37e300505c.zip |
Playbook Consolidation - openshift-hosted
Diffstat (limited to 'playbooks/openshift-prometheus')
-rw-r--r-- | playbooks/openshift-prometheus/config.yml | 4 | ||||
-rw-r--r-- | playbooks/openshift-prometheus/private/config.yml | 29 | ||||
l--------- | playbooks/openshift-prometheus/private/roles | 1 |
3 files changed, 34 insertions, 0 deletions
diff --git a/playbooks/openshift-prometheus/config.yml b/playbooks/openshift-prometheus/config.yml new file mode 100644 index 000000000..8ee57ce8d --- /dev/null +++ b/playbooks/openshift-prometheus/config.yml @@ -0,0 +1,4 @@ +--- +- include: ../init/main.yml + +- include: private/config.yml 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 |