Move to FreeIPA CA certificate generation #38

Merged
mpavlov merged 7 commits from dev into master 2025-08-15 00:16:55 +03:00
7 changed files with 147 additions and 246 deletions
Showing only changes of commit d7919a4a45 - Show all commits

View File

@@ -37,6 +37,12 @@
become_user: "{{ ansible_user }}"
ignore_errors: true
- name: "Allow {{ ansible_facts['hostname'] }}.{{ ansible_facts['domain'] }} to get certificates for HTTP/{{ rproxy_service_name }}.{{ ansible_facts['domain'] }} SPN "
ansible.builtin.shell:
cmd: "ipa service-add-host --hosts={{ ansible_facts['hostname'] }}.{{ ansible_facts['domain'] }} HTTP/{{ rproxy_service_name }}.{{ ansible_facts['domain'] }}"
become: false
become_user: "{{ ansible_user }}"
- name: Request certificate via ipa-getcert
ansible.builtin.command: >
ipa-getcert request