mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
kea_command: new module to access an ISC KEA server This module can be used to access the JSON API of a KEA DHCP4, DHCP6, DDNS or other services in a generic way, without having to manually format the JSON, with response error code checking. It directly accesses the Unix Domain Socket API so it needs to execute on the system the server is running, with superuser privilegues, but without the hassle of wrapping it into HTTPS and password auth (or client certificates). The integration test uses a predefined setup for convenience, which runs on Debian trixie as well as, on the CI, Ubuntu noble. It makes assumptions about the default package configuration and paths and is therefore tricky to run on other distros/OSes. This only affects running the KEA server as part of the tests, not the module.
21 lines
554 B
Text
21 lines
554 B
Text
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# Copyright © Thorsten Glaser <tglaser@b1-systems.de>
|
|
# Copyright © Felix Fontein <felix@fontein.de>
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
# sets up networks and services
|
|
needs/root
|
|
destructive
|
|
|
|
azp/posix/2
|
|
azp/posix/vm
|
|
skip/aix
|
|
skip/alpine # TODO: make this work
|
|
skip/docker
|
|
skip/fedora # TODO: make this work (not running in CI right now)
|
|
skip/freebsd
|
|
skip/macos
|
|
skip/osx
|
|
skip/rhel # TODO: make this work
|
|
skip/ubuntu22.04
|