mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 21:42:17 +00:00
Fixed wrong path to CheckedIPAddress class
This commit is contained in:
committed by
GitHub
parent
66449a7462
commit
fae81d62d7
@@ -294,7 +294,7 @@ def main():
|
|||||||
if installer.ip_addresses is not None:
|
if installer.ip_addresses is not None:
|
||||||
for value in installer.ip_addresses:
|
for value in installer.ip_addresses:
|
||||||
try:
|
try:
|
||||||
CheckedIPAddress(value)
|
ipautil.CheckedIPAddress(value)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
ansible_module.fail_json(msg="invalid IP address {0}: {1}".format(
|
ansible_module.fail_json(msg="invalid IP address {0}: {1}".format(
|
||||||
value, e))
|
value, e))
|
||||||
|
|||||||
Reference in New Issue
Block a user