diff options
Diffstat (limited to 'playbooks/openshift-metrics/private/config.yml')
-rw-r--r-- | playbooks/openshift-metrics/private/config.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/playbooks/openshift-metrics/private/config.yml b/playbooks/openshift-metrics/private/config.yml new file mode 100644 index 000000000..80cd93e5f --- /dev/null +++ b/playbooks/openshift-metrics/private/config.yml @@ -0,0 +1,38 @@ +--- +- name: Metrics Install Checkpoint Start + hosts: all + gather_facts: false + tasks: + - name: Set Metrics install 'In Progress' + run_once: true + set_stats: + data: + installer_phase_metrics: + status: "In Progress" + start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}" + +- name: OpenShift Metrics + hosts: oo_first_master + roles: + - role: openshift_metrics + +- name: OpenShift Metrics + hosts: oo_masters:!oo_first_master + serial: 1 + tasks: + - name: Setup the non-first masters configs + include_role: + name: openshift_metrics + tasks_from: update_master_config.yaml + +- name: Metrics Install Checkpoint End + hosts: all + gather_facts: false + tasks: + - name: Set Metrics install 'Complete' + run_once: true + set_stats: + data: + installer_phase_metrics: + status: "Complete" + end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}" |