diff --git a/roles/xnat/tasks/main.yml b/roles/xnat/tasks/main.yml index 551c4bab..846065e1 100644 --- a/roles/xnat/tasks/main.yml +++ b/roles/xnat/tasks/main.yml @@ -17,6 +17,7 @@ owner: "{{ postgresql_client_ssl_certificate.owner }}" group: "{{ postgresql_client_ssl_certificate.group }}" mode: "0600" + when: postgresql_use_ssl - name: "Configure XNAT directories" ansible.builtin.include_tasks: directories.yml