diff --git a/tasks/rosetta/install_mediaconch.yml b/tasks/rosetta/install_mediaconch.yml index 4d99f1704e494ba2d3f9f7cabd2456bd4f9318ea..3315b7c3241375cebbd0a13c8d6ac5e535f9f87c 100644 --- a/tasks/rosetta/install_mediaconch.yml +++ b/tasks/rosetta/install_mediaconch.yml @@ -23,6 +23,11 @@ ( not mediaconch_stat.stat.islnk ) or ( mediaconch_stat.stat.isreg ) +- name: remove existing MediaConch-Profile repo directory (otherwise, we can't clone it in the next task -.-) + file: + path: "/tmp/mediaconch-profile/" + state: absent + - name: checkout MediaConch-Profile repo git: repo: "https://git.slub-dresden.de/digital-preservation/mediaconch-profile.git" @@ -41,8 +46,3 @@ owner: "{{ vault_rosetta_user }}" group: "{{ vault_rosetta_group }}" mode: 0644 - -- name: cleanup MediaConch build directory - file: - path: "/tmp/mediaconch-profile/build/" - state: absent