dhcp

Role Name

This role is used by this repo [https://github.com/nicholasrodriguez/lab] to deploy dhcp for an Ansible lab or test environment.

A dhcp scope from x.x.x.100 to x.x.x.200 will be created

The router ip is the first in the lab subnet

Requirements

Role Variables

Variable Default Comments
authoritative authoritative
log_facility local7
ddns_updates off
default_lease_time 1800
min_lease_time 180
max_lease_time 1800
domain From lab variables
dns1 From lab variables
dns2 From lab variables

Dependencies

None required

Example Playbook

    - hosts: servers
      roles:
         - role: nicholasrodriguez.dhcp

License

MIT

Author Information

About

A simple role to install and configure dhcp for my Ansible lab

Install
ansible-galaxy install nicholasrodriguez/dhcp
GitHub repository
License
Unknown
Downloads
30