mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 13:53:23 +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([
|
||||
is_ip_address(ip),
|
||||
is_ip_network_address(ip),
|
||||
ip == "any",
|
||||
ip == "none"
|
||||
ip in ["any", "localhost", "localnets", "none"]
|
||||
])
|
||||
]
|
||||
if any(invalid_ips):
|
||||
|
||||
Reference in New Issue
Block a user