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
4f2b8000
Commit
4f2b8000
authored
4 years ago
by
Rafael Guterres Jeffman
Browse files
Options
Downloads
Patches
Plain Diff
Fix usage of superfluous parens.
parent
3acb9333
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
plugins/module_utils/ansible_freeipa_module.py
+1
-1
1 addition, 1 deletion
plugins/module_utils/ansible_freeipa_module.py
plugins/modules/ipadnszone.py
+1
-1
1 addition, 1 deletion
plugins/modules/ipadnszone.py
with
2 additions
and
2 deletions
plugins/module_utils/ansible_freeipa_module.py
+
1
−
1
View file @
4f2b8000
...
@@ -233,7 +233,7 @@ else:
...
@@ -233,7 +233,7 @@ else:
"
!=
"
:
operator
.
ne
,
"
!=
"
:
operator
.
ne
,
}
}
operation
=
oper_map
.
get
(
oper
)
operation
=
oper_map
.
get
(
oper
)
if
not
(
operation
)
:
if
not
operation
:
raise
NotImplementedError
(
"
Invalid operator: %s
"
%
oper
)
raise
NotImplementedError
(
"
Invalid operator: %s
"
%
oper
)
return
operation
(
version
.
parse
(
VERSION
),
return
operation
(
version
.
parse
(
VERSION
),
version
.
parse
(
requested_version
))
version
.
parse
(
requested_version
))
...
...
This diff is collapsed.
Click to expand it.
plugins/modules/ipadnszone.py
+
1
−
1
View file @
4f2b8000
...
@@ -315,7 +315,7 @@ class DNSZoneModule(FreeIPABaseModule):
...
@@ -315,7 +315,7 @@ class DNSZoneModule(FreeIPABaseModule):
forwarders
=
[]
forwarders
=
[]
for
forwarder
in
self
.
ipa_params
.
forwarders
:
for
forwarder
in
self
.
ipa_params
.
forwarders
:
ip_address
=
forwarder
.
get
(
"
ip_address
"
)
ip_address
=
forwarder
.
get
(
"
ip_address
"
)
if
not
(
is_ip_address
(
ip_address
)
)
:
if
not
is_ip_address
(
ip_address
):
self
.
fail_json
(
self
.
fail_json
(
msg
=
"
Invalid IP for DNS forwarder: %s
"
%
ip_address
msg
=
"
Invalid IP for DNS forwarder: %s
"
%
ip_address
)
)
...
...
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