diff --git a/roles/koji_hub/tasks/main.yaml b/roles/koji_hub/tasks/main.yaml index 3a44b8a..394d46f 100644 --- a/roles/koji_hub/tasks/main.yaml +++ b/roles/koji_hub/tasks/main.yaml @@ -169,6 +169,18 @@ notify: Restart httpd +- name: Enable SSL for Koji Web + ansible.builtin.blockinfile: + path: "{{ koji_remote_kojiweb_httpd_conf_path }}" + marker: "# {mark} ANSIBLE MANAGED BLOCK SSL LOGIN" + block: | + + SSLVerifyClient require + SSLVerifyDepth 10 + SSLOptions +StdEnvVars + + notify: Restart httpd + - name: Template Koji Hub and Web configs ansible.builtin.template: src: "{{ item.src }}"