diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-08-31 21:03:54 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-08-31 21:03:54 +0200 |
| commit | 7cf6ad35a270b884b6651f5950f17864be2ec963 (patch) | |
| tree | 9d0515983a6283af9f563dad588158ad511a24dd /roles/pihole/meta | |
| parent | ebc491774ce2dcea46310cc8dd32504086fea8ee (diff) | |
Update pihole role to function as dhcp for the network
Diffstat (limited to 'roles/pihole/meta')
| -rw-r--r-- | roles/pihole/meta/argument_specs.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/pihole/meta/argument_specs.yml b/roles/pihole/meta/argument_specs.yml index b50fc5c5..e7cf04e7 100644 --- a/roles/pihole/meta/argument_specs.yml +++ b/roles/pihole/meta/argument_specs.yml @@ -30,6 +30,26 @@ argument_specs: type: "bool" description: "The boolean flag to toggle DHCP on the pi-hole" default: false + pihole_dhcp_start: + type: "str" + description: "The dhcp start address" + default: "{{ ansible_default_ipv4.network }}.100" + pihole_dhcp_end: + type: "str" + description: "The dhcp end address" + default: "{{ ansible_default_ipv4.network }}.199" + pihole_dhcp_address: + type: "str" + description: "The dhcp server address (local pihole address)" + default: "{{ ansible_default_ipv4.address }}" + pihole_dhcp_lease_time: + type: "int" + description: "The dhcp lease time in hours" + default: 24 + pihole_dhcp_domain: + type: "str" + description: "The dhcp local domain extension" + default: "local" pihole_domain: type: "str" description: "The domain name to be configured when the pi is exposed over the internet" |
