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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
fd88ba1c
Commit
fd88ba1c
authored
Sep 15, 2017
by
Thomas Woerner
Browse files
Options
Downloads
Patches
Plain Diff
roles/ipaclient/tasks/install.yml: Checks for principal, keytab and password
parent
2d95d0df
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/ipaclient/tasks/install.yml
+6
-4
6 additions, 4 deletions
roles/ipaclient/tasks/install.yml
with
6 additions
and
4 deletions
roles/ipaclient/tasks/install.yml
+
6
−
4
View file @
fd88ba1c
...
@@ -44,11 +44,13 @@
...
@@ -44,11 +44,13 @@
when
:
ipaclient_use_otp | bool
when
:
ipaclient_use_otp | bool
-
fail
:
msg="At least one of password, keytab or otp must be specified"
-
name
:
Install - Check if principal and keytab are set
when
:
ipaclient_password is undefined and ipaclient_keytab is undefined and ipaclient_otp is undefined
fail
:
msg="Principal and keytab cannot be used together"
when
:
ipaclient_principal is defined and ipaclient_keytab is defined
-
fail
:
msg="Password is not defined"
-
name
:
Install - Check if one of password and keytab are set
when
:
ipaclient_password is undefined
fail
:
msg="At least one of password or keytab must be specified"
when
:
ipaclient_password is undefined and ipaclient_keytab is undefined
-
name
:
Install - Join IPA
-
name
:
Install - Join IPA
ipajoin
:
ipajoin
:
...
...
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