Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
5d7c0ec3
Unverified
Commit
5d7c0ec3
authored
5 years ago
by
Sergio Oliveira Campos
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typo
parent
5643cfc2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/module_utils/ansible_freeipa_module.py
+2
-2
2 additions, 2 deletions
plugins/module_utils/ansible_freeipa_module.py
with
2 additions
and
2 deletions
plugins/module_utils/ansible_freeipa_module.py
+
2
−
2
View file @
5d7c0ec3
...
@@ -321,7 +321,7 @@ def is_valid_port(port):
...
@@ -321,7 +321,7 @@ def is_valid_port(port):
def
is_ipv4_addr
(
ipaddr
):
def
is_ipv4_addr
(
ipaddr
):
"""
Test if
fig
en IP address is a valid IPv4 address.
"""
"""
Test if
giv
en IP address is a valid IPv4 address.
"""
try
:
try
:
socket
.
inet_pton
(
socket
.
AF_INET
,
ipaddr
)
socket
.
inet_pton
(
socket
.
AF_INET
,
ipaddr
)
except
socket
.
error
:
except
socket
.
error
:
...
@@ -330,7 +330,7 @@ def is_ipv4_addr(ipaddr):
...
@@ -330,7 +330,7 @@ def is_ipv4_addr(ipaddr):
def
is_ipv6_addr
(
ipaddr
):
def
is_ipv6_addr
(
ipaddr
):
"""
Test if
fig
en IP address is a valid IPv6 address.
"""
"""
Test if
giv
en IP address is a valid IPv6 address.
"""
try
:
try
:
socket
.
inet_pton
(
socket
.
AF_INET6
,
ipaddr
)
socket
.
inet_pton
(
socket
.
AF_INET6
,
ipaddr
)
except
socket
.
error
:
except
socket
.
error
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment