mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-13 12:15:53 +00:00
ipadnszone: Accept localhost and localnet in allow_query.
This commit is contained in:
@@ -256,8 +256,7 @@ class DNSZoneModule(FreeIPABaseModule):
|
|||||||
if not any([
|
if not any([
|
||||||
is_ip_address(ip),
|
is_ip_address(ip),
|
||||||
is_ip_network_address(ip),
|
is_ip_network_address(ip),
|
||||||
ip == "any",
|
ip in ["any", "localhost", "localnets", "none"]
|
||||||
ip == "none"
|
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
if any(invalid_ips):
|
if any(invalid_ips):
|
||||||
|
|||||||
Reference in New Issue
Block a user