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

roles/ipaclient/tasks/install.yml: Checks for principal, keytab and password

parent 2d95d0df
No related branches found
No related tags found
No related merge requests found
...@@ -44,11 +44,13 @@ ...@@ -44,11 +44,13 @@
when: ipaclient_use_otp | bool when: ipaclient_use_otp | bool
- fail: msg="At least one of password, keytab or otp must be specified" - name: Install - Check if principal and keytab are set
when: ipaclient_password is undefined and ipaclient_keytab is undefined and ipaclient_otp is undefined fail: msg="Principal and keytab cannot be used together"
when: ipaclient_principal is defined and ipaclient_keytab is defined
- fail: msg="Password is not defined" - name: Install - Check if one of password and keytab are set
when: ipaclient_password is undefined fail: msg="At least one of password or keytab must be specified"
when: ipaclient_password is undefined and ipaclient_keytab is undefined
- name: Install - Join IPA - name: Install - Join IPA
ipajoin: ipajoin:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment