mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 11:54:47 +00:00
roles/ipaclient/tasks/install.yml: Tew additional checks for password, keytab and otp
This commit is contained in:
@@ -42,6 +42,12 @@
|
|||||||
|
|
||||||
when: ipaclient_password is not defined and ipaclient_keytab is not defined
|
when: ipaclient_password is not defined and ipaclient_keytab is not defined
|
||||||
|
|
||||||
|
- fail: msg="At least one of password, keytab or otp must be specified"
|
||||||
|
when: ipaclient_password is undefined and ipaclient_keytab is undefined and ipaclient_otp is undefined
|
||||||
|
|
||||||
|
- fail: msg="Password is not defined"
|
||||||
|
when: ipaclient_password is undefined
|
||||||
|
|
||||||
- name: Install - Join IPA
|
- name: Install - Join IPA
|
||||||
ipajoin:
|
ipajoin:
|
||||||
servers: "{{ ipadiscovery.servers }}"
|
servers: "{{ ipadiscovery.servers }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user