diff --git a/tasks/install_subapp.yml b/tasks/install_subapp.yml index e8d15380119adfc425d9fbfd66df94989b1c0aff..28f0fa62ab98f163582173e0120c374bfded89c6 100644 --- a/tasks/install_subapp.yml +++ b/tasks/install_subapp.yml @@ -80,6 +80,11 @@ - "chown_dip_access.service" tags: [systemd] +- name: Config für Signifikante Eigenschaften einspielen + ansible.builtin.git: + repo: "https://git.slub-dresden.de/digital-preservation/significantproperties.git" + dest: "/home/{{ vault_subapp_user }}/.subapp/significantproperties/" + ### KONFIGURATIONEN FÜR SUBMISSION APPLICATION INSTALLIEREN ### - name: SubApp-Config einspielen block: @@ -206,4 +211,4 @@ state: stopped loop: "{{ lookup('dict', vault_stichprobe_hosts) }}" when: ansible_hostname == item.key - ignore_errors: "yes" \ No newline at end of file + ignore_errors: "yes" diff --git a/templates/subapp.cfg.j2 b/templates/subapp.cfg.j2 index 8cd1cda1566c6e822d326d429f69159be1de8a20..9aa37545def3d58f08f10b2e0dd750f763065974 100644 --- a/templates/subapp.cfg.j2 +++ b/templates/subapp.cfg.j2 @@ -77,6 +77,9 @@ rosetta_password:{{ vault_subapp_vars.hosts[ansible_hostname].Rosetta_Password } # Workflow name as agreed upon in the contract between producer and archive. fullname_workflow:{{ vault_subapp_vars.hosts[ansible_hostname].fullname_workflow | default("WORKFLOW_NAME_TEMPLATE") }} +# Path to the XML file that contains the encoded significant properties as agreed upon with the producer. +significant_properties_file:{{ vault_subapp_vars.hosts[ansible_hostname].significant_properties_file | default("SIGNIFICANT_PROPERTIES_FILE_PATH_TEMPLATE") }} + ### email notification configuration