Validate ntp is running and synchronised
Change-Id: I8191be95b1091289f9e93dddbc3ec449cbd910c5
This commit is contained in:
parent
7456102348
commit
31874e7aad
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- hosts: overcloud
|
||||
vars:
|
||||
metadata:
|
||||
name: Verify all deployed nodes have their clock synchronised.
|
||||
description: >
|
||||
Each overcloud node should have their clocks synchronised.
|
||||
|
||||
The deployment should configure and run ntpd. This validation verifies
|
||||
that it is indeed running and connected to an NPT server on all nodes.
|
||||
groups:
|
||||
- post-deployment
|
||||
tasks:
|
||||
- name: Run ntpstat
|
||||
# ntpstat returns 0 if synchronised and non-zero otherwise:
|
||||
command: ntpstat
|
Loading…
Reference in New Issue