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
cf0b7100
Commit
cf0b7100
authored
4 years ago
by
Rafael Guterres Jeffman
Browse files
Options
Downloads
Patches
Plain Diff
Allow clearing auth_ind by using "" as input value.
parent
bf9024f7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plugins/modules/ipaservice.py
+1
-1
1 addition, 1 deletion
plugins/modules/ipaservice.py
tests/service/test_service.yml
+20
-0
20 additions, 0 deletions
tests/service/test_service.yml
with
21 additions
and
1 deletion
plugins/modules/ipaservice.py
+
1
−
1
View file @
cf0b7100
...
...
@@ -327,7 +327,7 @@ def init_ansible_module():
choices
=
[
"
MS-PAC
"
,
"
PAD
"
,
"
NONE
"
]),
auth_ind
=
dict
(
type
=
"
list
"
,
aliases
=
[
"
krbprincipalauthind
"
],
choices
=
[
"
otp
"
,
"
radius
"
,
"
pkinit
"
,
"
hardened
"
]),
choices
=
[
"
otp
"
,
"
radius
"
,
"
pkinit
"
,
"
hardened
"
,
""
]),
skip_host_check
=
dict
(
type
=
"
bool
"
),
force
=
dict
(
type
=
"
bool
"
),
requires_pre_auth
=
dict
(
...
...
This diff is collapsed.
Click to expand it.
tests/service/test_service.yml
+
20
−
0
View file @
cf0b7100
...
...
@@ -495,6 +495,26 @@
register
:
result
failed_when
:
result.changed
-
name
:
Clear auth_ind.
ipaservice
:
ipaadmin_password
:
SomeADMINpassword
name
:
"
HTTP/{{
svc_fqdn
}}"
auth_ind
:
"
"
skip_host_check
:
no
force
:
yes
register
:
result
failed_when
:
not result.changed
-
name
:
Clear auth_ind, again.
ipaservice
:
ipaadmin_password
:
SomeADMINpassword
name
:
"
HTTP/{{
svc_fqdn
}}"
auth_ind
:
"
"
skip_host_check
:
no
force
:
yes
register
:
result
failed_when
:
result.changed
# cleanup
-
name
:
Ensure services are absent.
...
...
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