mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 13:32:10 +00:00
library/ipajoin.py: New module for ipajoin
The module is doing the important part of the code in ipa-client-install to be able to use ipa-join on the client. get_ca_certs* from client.py are used as a temporary solution.
This commit is contained in:
@@ -40,6 +40,20 @@
|
||||
|
||||
when: ipaclient_password is not defined and ipaclient_keytab is not defined
|
||||
|
||||
- name: Install - Join IPA
|
||||
ipajoin:
|
||||
servers: "{{ ipadiscovery.servers | default(omit) }}"
|
||||
basedn: "{{ ipadiscovery.basedn | default(omit) }}"
|
||||
realm: "{{ ipadiscovery.realm | default(omit) }}"
|
||||
kdc: "{{ ipadiscovery.kdc | default(omit) }}"
|
||||
hostname: "{{ ipadiscovery.hostname }}"
|
||||
domain: "{{ ipadiscovery.domain | default(omit) }}"
|
||||
force_join: "{{ ipaclient_force_join | default(omit) }}"
|
||||
principal: "{{ ipaclient_principal | default(omit) }}"
|
||||
password: "{{ ipaclient_password | default(omit) }}"
|
||||
keytab: "{{ ipaclient_keytab | default(omit) }}"
|
||||
#ca_certs_file: "{{ ipaclient_ca_certs_file | default(omit) }}"
|
||||
kinit_attempts: "{{ ipaclient_kinit_attempts | default(omit) }}"
|
||||
|
||||
- name: Install - Configure IPA client
|
||||
ipaclient:
|
||||
|
||||
Reference in New Issue
Block a user