this adds a bunch of roles. who knows the state lol...

we'll get it fixed!
This commit is contained in:
Chris Hammer
2023-12-08 01:30:44 -05:00
parent 7e758ca4f3
commit ea0c0435c4
59 changed files with 707 additions and 9 deletions

View File

@ -0,0 +1,14 @@
---
- name: Check for existing IPA registration
lineinfile:
path: /etc/krb5.conf
regexp: "{{ ipa_auth_server }}"
state: absent
changed_when: false
register: ipa_registered_check
- name: Register system against IPA server
command: ipa-client-install --server {{ ipa_auth_server }}\
--domain {{ ipa_domain }} --mkhomedir -w {{ ipa_otp }} --unattended
when: not ipa_registered_check.found