diff options
Diffstat (limited to 'playbooks/openshift-metrics')
-rw-r--r-- | playbooks/openshift-metrics/config.yml | 4 | ||||
-rw-r--r-- | playbooks/openshift-metrics/private/config.yml | 38 | ||||
l--------- | playbooks/openshift-metrics/private/library | 1 | ||||
l--------- | playbooks/openshift-metrics/private/roles | 1 |
4 files changed, 44 insertions, 0 deletions
diff --git a/playbooks/openshift-metrics/config.yml b/playbooks/openshift-metrics/config.yml new file mode 100644 index 000000000..8ee57ce8d --- /dev/null +++ b/playbooks/openshift-metrics/config.yml @@ -0,0 +1,4 @@ +--- +- include: ../init/main.yml + +- include: private/config.yml 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') }}" diff --git a/playbooks/openshift-metrics/private/library b/playbooks/openshift-metrics/private/library new file mode 120000 index 000000000..ba40d2f56 --- /dev/null +++ b/playbooks/openshift-metrics/private/library @@ -0,0 +1 @@ +../../../library
\ No newline at end of file diff --git a/playbooks/openshift-metrics/private/roles b/playbooks/openshift-metrics/private/roles new file mode 120000 index 000000000..20c4c58cf --- /dev/null +++ b/playbooks/openshift-metrics/private/roles @@ -0,0 +1 @@ +../../../roles
\ No newline at end of file |