Zack Williams | f809afe | 2021-02-11 17:46:12 -0700 | [diff] [blame] | 1 | --- |
2 | # chrony molecule/default/verify.yml | ||||
3 | # | ||||
4 | # SPDX-FileCopyrightText: © 2021 Open Networking Foundation <support@opennetworking.org> | ||||
5 | # SPDX-License-Identifier: Apache-2.0 | ||||
6 | |||||
7 | - name: Verify | ||||
8 | hosts: all | ||||
9 | gather_facts: false | ||||
10 | tasks: | ||||
11 | |||||
12 | - name: Check that chrony is running | ||||
13 | command: # noqa 301 | ||||
14 | cmd: "chronyc activity" | ||||
15 | register: cc_activity | ||||
16 | failed_when: "'200 OK' not in cc_activity.stdout" |