blob: aedd1584c5a1a2f870fc59f2a2b86ddd81587d31 [file] [log] [blame]
Zack Williams9fc21d72020-11-22 22:36:54 -07001---
2# dhcpd molecule/default/verify.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7- name: Verify
8 hosts: all
Zack Williams98725e22021-03-18 10:21:26 -07009
Zack Williams9fc21d72020-11-22 22:36:54 -070010 tasks:
Zack Williams98725e22021-03-18 10:21:26 -070011
12 - name: Populate service facts
13 service_facts:
14
15 - name: isc-dhcp-server is running
Zack Williams9fc21d72020-11-22 22:36:54 -070016 assert:
Zack Williams98725e22021-03-18 10:21:26 -070017 that: ansible_facts.services["isc-dhcp-server.service"]["state"] == "running"