Skip to content

Commit

Permalink
Fix freeipa_server role
Browse files Browse the repository at this point in the history
Server installation should now pass. Client installation is only run
when katello_server_origin is defined.
  • Loading branch information
adamruzicka authored and ekohl committed Jan 13, 2025
1 parent 55674b7 commit 7d2081e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/freeipa_server/tasks/install_freeipa_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@
- name: 'Run FreeIPA Install'
become: true
shell:
cmd: ipa-server-install -U -r {{ freeipa_server_realm }} -p {{ freeipa_server_directory_manager_password }} -a {{ freeipa_server_directory_admin_password }} creates=/etc/krb5.keytab
cmd: ipa-server-install -U -r {{ freeipa_server_realm }} -p {{ freeipa_server_directory_manager_password }} -a {{ freeipa_server_directory_admin_password }}
args:
creates: /etc/krb5.keytab
1 change: 1 addition & 0 deletions roles/freeipa_server/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- include_tasks: install_freeipa_server.yml
- include_tasks: install_freeipa_client.yml
when: katello_server_origin is defined

0 comments on commit 7d2081e

Please sign in to comment.