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 | 5ceb809a52d93b99dcab5d77f42fdaa02fe6e8cb (patch) | |
| tree | 9d0515983a6283af9f563dad588158ad511a24dd /roles/pihole/meta | |
| parent | d56f90cc8773ad0a3c42d2622f7ea0096d2b3ff6 (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" |
