mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 20:04:45 +00:00
Merge pull request #632 from zpericic/ipadnszone_allow_query
ipadnszone: Accept localhost and localnet in allow_query.
This commit is contained in:
@@ -246,8 +246,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