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
d5fdaaf4
Commit
d5fdaaf4
authored
3 years ago
by
Thomas Woerner
Browse files
Options
Downloads
Patches
Plain Diff
tests/env_freeipa_facts.yml: Use lower case var names
The upper case name has been reported as issues by new ansible-lint.
parent
fdd4b19b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/env_freeipa_facts.yml
+4
-4
4 additions, 4 deletions
tests/env_freeipa_facts.yml
with
4 additions
and
4 deletions
tests/env_freeipa_facts.yml
+
4
−
4
View file @
d5fdaaf4
...
...
@@ -15,12 +15,12 @@
-
name
:
Verify if host is an IPA server or client.
shell
:
cmd
:
|
echo SomeADMINpassword | kinit -c {{
KRB5CCNAME
}} admin
RESULT=$(KRB5CCNAME={{
KRB5CCNAME
}} ipa server-show `hostname` && echo SERVER || echo CLIENT)
kdestroy -A -c {{
KRB5CCNAME
}}
echo SomeADMINpassword | kinit -c {{
krb5ccname
}} admin
RESULT=$(KRB5CCNAME={{
krb5ccname
}} ipa server-show `hostname` && echo SERVER || echo CLIENT)
kdestroy -A -c {{
krb5ccname
}}
echo $RESULT
vars
:
KRB5CCNAME
:
"
__check_ipa_host_is_client_or_server__"
krb5ccname
:
"
__check_ipa_host_is_client_or_server__"
register
:
output
-
name
:
Set FreeIPA facts.
...
...
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