Skip to content
Snippets Groups Projects
Commit 803d2727 authored by nimrod's avatar nimrod
Browse files

- Pass on OpenBSD.

parent 36ccf81f
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@
- dhcp_config is defined
- name: APT install
when: ansible_pkg_mgr == 'apt'
apt:
name: isc-dhcp-server
state: present
......@@ -46,5 +47,6 @@
- meta: flush_handlers
- name: Wait for service to come online
when: ansible_os_family == 'Debian'
wait_for:
path: /var/run/dhcp-server/dhcpd.pid
......@@ -13,4 +13,5 @@ def test_dhcp_service(Service, Socket, SystemInfo):
assert service.is_enabled
except NotImplementedError:
pass
if SystemInfo.type == 'linux':
assert Socket('udp://0.0.0.0:67').is_listening
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment