Commit Graph

68 Commits

Author SHA1 Message Date
Gavrilov Alexy
3ad1ebb9f6 fix docs Examples add ) 2016-04-07 15:28:13 +05:00
Maciej Delmanowski
5872f29866 Merge pull request #19 from senk/patch-1
Updated index.rst to match style
2016-01-29 11:44:55 +01:00
Robin Naundorf
8c0170ca39 Update index.rst
Updated index.rst to match style of other Ansible Roles in the docs
2016-01-29 11:35:02 +01:00
Maciej Delmanowski
60a35e6917 Merge pull request #18 from drybjed/no-gateway
Provide empty list of gateways if none are set
2015-10-15 17:58:24 +02:00
Maciej Delmanowski
4e6e29697d Provide empty list of gateways if none are set 2015-10-15 17:52:19 +02:00
Maciej Delmanowski
482a74fc0a Merge pull request #17 from drybjed/rewrite-nameservers
Change the way 'debops.dhcpd' gathers nameservers
2015-08-29 20:25:42 +02:00
Maciej Delmanowski
271da470fb Change the way 'debops.dhcpd' gathers nameservers 2015-08-29 20:01:23 +02:00
Maciej Delmanowski
4052e5e800 Merge pull request #15 from drybjed/fix-templating-error
Fix templating error with no IPv6 network present
2015-07-11 00:14:25 +02:00
Maciej Delmanowski
49c26ff64b Fix templating error with no IPv6 network present
Fixes #14
2015-07-11 00:10:49 +02:00
Maciej Delmanowski
a81a9d4000 Merge pull request #13 from redrampage/master
Fixed bug with host-name option
2015-06-30 11:42:54 +02:00
RedRampage
4c47494faa Fixed bug with host-name option 2015-06-30 12:17:16 +03:00
Maciej Delmanowski
6c8afc7d5e Merge pull request #11 from redrampage/master
Support of multiple MAC addresses for host declaration and a little fix to failover
2015-06-30 00:50:39 +02:00
RedRampage
e42f56b522 Distinct naming of dhcpd macros 2015-06-30 01:05:27 +03:00
RedRampage
3d41653a3a dhcpd_probe off by default; Added default for IPv6 2015-06-30 01:01:35 +03:00
RedRampage
811460752a Documentation for multiple MACs 2015-06-24 15:52:21 +03:00
RedRampage
4039457bd6 Added support of multiple MACs for host statements
Fixed primary declaration in failover statements.
Small bugfix in group expanding macros.
2015-06-24 15:35:31 +03:00
Maciej Delmanowski
0de6ec18f7 Merge pull request #9 from drybjed/ipxe-support
Add iPXE boot loader support
2015-04-22 11:05:07 +02:00
Maciej Delmanowski
5b88a2f75e Add iPXE boot loader support 2015-04-22 10:55:47 +02:00
Maciej Delmanowski
f4c25b9099 Merge pull request #8 from drybjed/subnet-host-single
Fix support for subnets with only 1 host inside
2015-04-13 17:24:49 +02:00
Maciej Delmanowski
2c517594bf Fix support for subnets with only 1 host inside 2015-04-13 17:05:11 +02:00
Maciej Delmanowski
5e25f66fd1 Merge pull request #6 from drybjed/create-dhcpd-includes
Make sure that included files exist before restart
2015-04-07 13:09:16 +02:00
Maciej Delmanowski
c8c6ce2a38 Make sure that included files exist before restart 2015-04-07 13:03:48 +02:00
Maciej Delmanowski
c76c082c9a Update Changelog 2015-03-30 14:29:31 +02:00
Maciej Delmanowski
cff2f573d5 Merge pull request #5 from drybjed/dhcp-relay
Various fixes in the debops.dhcpd role
2015-03-30 14:15:43 +02:00
Maciej Delmanowski
0e0d53bbc8 Add 'dhcpd_zones' list variable 2015-03-30 13:58:19 +02:00
Maciej Delmanowski
5014dd8642 Add 'dhcp-probe' support
dhcp-probe script is used to scan the network for unauthorized DHCP
servers.
2015-03-30 13:34:53 +02:00
Maciej Delmanowski
337b1e749d Update documentation and README 2015-03-30 08:56:44 +02:00
Maciej Delmanowski
e8d7c97876 Filter list of autogenerated nameservers
If somehow '127.0.0.1' from 'dnsmasq' got into the list of nameservers
in '/etc/resolv.conf', filter it out of the list of advertised
nameservers to avoid confusion.
2015-03-29 23:41:24 +02:00
Maciej Delmanowski
8504950c0c Correctly format list of IPv4 routers 2015-03-29 23:36:45 +02:00
Maciej Delmanowski
e2dde9fe01 Set domain-search options by default 2015-03-29 23:36:16 +02:00
Maciej Delmanowski
f5fec411de Add IPv4 default router if found in Ansible facts 2015-03-29 23:34:58 +02:00
Maciej Delmanowski
7dfe3855ca Reorganize DHCP options
- 'dhcpd_global_options' text block has been split into individual
  variables;

- if list of nameservers is not specified, debops.dhcpd role will
  advertise nameservers set in '/etc/resolv.conf' file;

- default set of options can be enabled or disabled using a bool
  variable 'dhcpd_auto_options'. The options have been moved to
  a separate configuration template included in main one;
2015-03-29 22:56:46 +02:00
Maciej Delmanowski
04abdbb3c7 Move macro functions to separate file 2015-03-29 21:24:30 +02:00
Maciej Delmanowski
f34a60a7cc Make sure that /var/lib/dhcp/dhcpd6.leases exists 2015-03-29 21:13:24 +02:00
Maciej Delmanowski
48c658bbdf Add 'dhcpd_ipversion' variable
This variable indicates which Internet Protocol version should be enabled
in DHCP server, because ISC DHCP server supports only 1 version active
at a time.
2015-03-29 21:11:40 +02:00
Maciej Delmanowski
3c4a1e80bb Add variable for dhcpd(8) server options 2015-03-29 00:25:58 +01:00
Maciej Delmanowski
80f1f88786 Reorganize role documentation 2015-03-28 23:34:25 +01:00
Maciej Delmanowski
277e2df11c Add 'debops.secret' role to list of dependencies
Secrets are used to store confidential key information used for Dynamic
DNS.
2015-03-28 23:31:49 +01:00
Maciej Delmanowski
9b0ad40354 Add support for ISC DHCP Relay
You can enable installation of DHCP relay instead of the server via
'dhcpd_mode' variable. By default, relays send the packets to their
network gateway, but that might not be what you really want; however
selection of correct DHCP server can be performed by specifying it in
'dhcpd_relay_servers' list.
2015-03-27 14:32:44 +01:00
Maciej Delmanowski
93cae1c116 Request sudo access on Travis-CI 2015-03-27 14:29:04 +01:00
Maciej Delmanowski
79baaa609b Convert role tasks to YAML format 2015-03-27 10:50:21 +01:00
Maciej Delmanowski
1c988bd2ac Merge pull request #4 from redrampage/master
Failover declaration clarification
2015-02-02 21:02:59 +01:00
RedRampage
a8f2ae2b93 Failover declaration clarification 2015-02-02 22:56:55 +03:00
Maciej Delmanowski
2f00cef9eb Move ansigenome metadata to a separate file 2015-01-29 12:35:25 +01:00
Maciej Delmanowski
b7d2302219 Merge pull request #2 from redrampage/master
Added support for key statements
2014-12-18 14:36:53 +01:00
RedRampage
fac5b82f55 Added support for key statements 2014-12-18 16:10:12 +03:00
Maciej Delmanowski
fcf5fa2845 Merge pull request #1 from redrampage/master
Added a failover configuration
2014-11-28 23:50:18 +01:00
RedRampage
0d378f8441 Spacing fix 2014-11-28 13:00:19 +03:00
RedRampage
f1fb16b4a0 Added dhcpd failover configuration. 2014-11-28 12:54:28 +03:00
Maciej Delmanowski
f87cf146fe Replace reStructuredText README with Markdown README 2014-10-25 16:46:49 +02:00