Fix and improve IPA client enrollment
- Ensure the `freeipa-client` package is installed - Configure systems to create home directories on the fly - Tag enrollment task Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
d530dfb078
commit
0f892f559b
1 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
- name: Install IPA client packages
|
||||
package:
|
||||
name:
|
||||
- freeipa-client
|
||||
state: present
|
||||
tags:
|
||||
- ipa/client
|
||||
- packages
|
||||
|
||||
- name: Enroll system as IPA client
|
||||
command:
|
||||
cmd: ipa-client-install
|
||||
|
@ -7,4 +16,8 @@
|
|||
--server={{ ipa_server }}
|
||||
-p admin -w {{ ipa_admin_password }}
|
||||
-U -N --force-join
|
||||
--mkhomedir
|
||||
creates: /etc/ipa/default.conf
|
||||
tags:
|
||||
- ipa/client
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue