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
7b51df6c
Commit
7b51df6c
authored
Nov 9, 2017
by
Thomas Woerner
Browse files
Options
Downloads
Patches
Plain Diff
roles/ipaclient/tasks/[un]install.yml: Use better formatting for commands
parent
11bf327c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/ipaclient/tasks/install.yml
+4
-1
4 additions, 1 deletion
roles/ipaclient/tasks/install.yml
roles/ipaclient/tasks/uninstall.yml
+4
-1
4 additions, 1 deletion
roles/ipaclient/tasks/uninstall.yml
with
8 additions
and
2 deletions
roles/ipaclient/tasks/install.yml
+
4
−
1
View file @
7b51df6c
...
...
@@ -90,7 +90,10 @@
when
:
not ipatest.krb5_keytab_ok and (ipaadmin_password is undefined or ipaadmin_password == "") and (ipaclient_keytab is undefined or ipaclient_keytab == "")
-
name
:
Install - Purge {{ ipadiscovery.realm }} from host keytab
command
:
/usr/sbin/ipa-rmkeytab -k /etc/krb5.keytab -r "{{ ipadiscovery.realm }}"
command
:
>
/usr/sbin/ipa-rmkeytab
-k /etc/krb5.keytab
-r "{{ ipadiscovery.realm }}"
register
:
iparmkeytab
# Do not fail on error codes 3 and 5:
# 3 - Unable to open keytab
...
...
This diff is collapsed.
Click to expand it.
roles/ipaclient/tasks/uninstall.yml
+
4
−
1
View file @
7b51df6c
...
...
@@ -6,7 +6,10 @@
static
:
yes
-
name
:
Uninstall - Uninstall IPA client
command
:
/usr/sbin/ipa-client-install --uninstall -U
command
:
>
/usr/sbin/ipa-client-install
--uninstall
-U
register
:
uninstall
# 2 means that uninstall failed because IPA client was not configured
failed_when
:
uninstall.rc != 0 and uninstall.rc !=
2
...
...
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