roles/ipaclient/tasks/install.yml: Tew additional checks for password, keytab and otp

This commit is contained in:
Thomas Woerner
2017-09-15 10:09:28 +02:00
parent fcea9c2b6c
commit e7520a5b1f

View File

@@ -42,6 +42,12 @@
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
ipajoin:
servers: "{{ ipadiscovery.servers }}"