adfinis-sygroup.isc_dhcp_server

ROLE isc_dhcp_server

GitHub Travis (.org) Ansible Galaxy

This role helps set up and manage the ISC DHCP server.

Requirements

There are no extra requirements for this role.

Role Variables

You can configure the following default variables:

# OMAPI synchronization port
isc_dhcp_server_omapi_port: 7911

# DHCP server subnet settings. By default, no subnets are set up.
isc_dhcp_server_subnet:
  - netaddress: 192.168.121.0
    netmask: 255.255.255.0
    routers: 192.168.121.1
    domain: lab.local
    domain_search: lab.local
    dns: 192.168.121.1
    range: 192.168.121.20 192.168.121.100

These variables are for Debian / Ubuntu systems and can be changed if needed:

# Packages related to isc_dhcp_server
isc_dhcp_server_pkg: isc-dhcp-server

# isc_dhcp_server service name
isc_dhcp_server_service: isc-dhcp-server

And these for RHEL / CentOS systems, which can also be adjusted:

# Packages related to isc_dhcp_server
isc_dhcp_server_pkg: dhcp

# isc_dhcp_server service name
isc_dhcp_server_service: dhcpd

Dependencies

This role does not have other dependencies.

Example Playbook

Here’s an example of how to use this role in a playbook with external variables:

- hosts: servers
  roles:
    - { role: adfinis-sygroup.isc_dhcp_server }

License

GPL-3.0

Author Information

The isc_dhcp_server role was created by:

Informazioni sul progetto

Setup and manage ISC DHCP Server

Installa
ansible-galaxy install adfinis-sygroup.isc_dhcp_server
Licenza
gpl-3.0
Download
2.1k
Proprietario
Adfinis SyGroup was rebranded to Adfinis, follow the link below: