Skip to content
Snippets Groups Projects
Commit e7520a5b authored by Thomas Woerner's avatar Thomas Woerner
Browse files

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

parent fcea9c2b
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,12 @@ ...@@ -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 }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment