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
Branches
Tags
No related merge requests found
......@@ -44,11 +44,13 @@
when: ipaclient_use_otp | bool
- 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
- name: Install - Check if principal and keytab are set
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"
when: ipaclient_password is undefined
- name: Install - Check if one of password and keytab are set
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
ipajoin:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment