summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-node
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-10-30 10:44:45 -0400
committerRussell Teague <rteague@redhat.com>2017-10-31 11:00:11 -0400
commitacc1820918f0c8123bff8799dd723929d8baa0e1 (patch)
tree425e6d5eae2454a20e2cac992ba7a13fd592038b /playbooks/common/openshift-node
parent2d0365bfabc225dcb91a0df9f37ecda2bd606602 (diff)
downloadopenshift-acc1820918f0c8123bff8799dd723929d8baa0e1.tar.gz
openshift-acc1820918f0c8123bff8799dd723929d8baa0e1.tar.bz2
openshift-acc1820918f0c8123bff8799dd723929d8baa0e1.tar.xz
openshift-acc1820918f0c8123bff8799dd723929d8baa0e1.zip
Add execution times to checkpoint status
Diffstat (limited to 'playbooks/common/openshift-node')
-rw-r--r--playbooks/common/openshift-node/config.yml16
1 files changed, 10 insertions, 6 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 4f8f98aef..28e3c1b1b 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -1,13 +1,15 @@
---
- name: Node Install Checkpoint Start
- hosts: oo_all_hosts
+ hosts: all
gather_facts: false
tasks:
- name: Set Node install 'In Progress'
+ run_once: true
set_stats:
data:
- installer_phase_node: "In Progress"
- aggregate: false
+ installer_phase_node:
+ status: "In Progress"
+ start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- include: certificates.yml
@@ -24,11 +26,13 @@
- include: enable_excluders.yml
- name: Node Install Checkpoint End
- hosts: oo_all_hosts
+ hosts: all
gather_facts: false
tasks:
- name: Set Node install 'Complete'
+ run_once: true
set_stats:
data:
- installer_phase_node: "Complete"
- aggregate: false
+ installer_phase_node:
+ status: "Complete"
+ end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"