Skip to content

Commit

Permalink
[pfsense_dns_resolver] Initial module
Browse files Browse the repository at this point in the history
  • Loading branch information
danhuss authored and opoplawski committed Jan 3, 2024
1 parent 92bcbc9 commit 3dfaf3a
Show file tree
Hide file tree
Showing 4 changed files with 575 additions and 231 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ The following modules are currently available:
* [pfsense_cert](https://github.com/pfsensible/core/wiki/pfsense_cert) for Certificates
* [pfsense_default_gateway](https://github.com/pfsensible/core/wiki/pfsense_default_gateway) for setting the default gateways
* [pfsense_dhcp_static](https://github.com/pfsensible/core/wiki/pfsense_dhcp_static) for static DHCP entries
* pfsense_dns_resolver for DNS resolver (unbound) settings
* [pfsense_gateway](https://github.com/pfsensible/core/wiki/pfsense_gateway) for routing gateways
* [pfsense_group](https://github.com/pfsensible/core/wiki/pfsense_group) for user groups
* [pfsense_interface](https://github.com/pfsensible/core/wiki/pfsense_interface) for interfaces
Expand Down
2 changes: 1 addition & 1 deletion plugins/module_utils/pfsense.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def copy_dict_to_element(self, src, top_elt, sub=0):
for item in value:
new_elt = self.new_element(key)
if isinstance(item, dict):
self.copy_dict_to_element(item, new_elt, sub=sub+1)
self.copy_dict_to_element(item, new_elt, sub=sub + 1)
else:
new_elt.text = item
top_elt.append(new_elt)
Expand Down
230 changes: 0 additions & 230 deletions plugins/modules/pfsense_dns.py

This file was deleted.

Loading

0 comments on commit 3dfaf3a

Please sign in to comment.