Skip to content
Snippets Groups Projects
Commit eed98e2b authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: test if prerequisites for exit strategy script are installed and warn if necessary

parent fda480d4
No related branches found
No related tags found
No related merge requests found
......@@ -28,3 +28,9 @@
# runs the Exit Strategy script to build an emergency database
- dest: "rosettaExitStrategy/"
repo: "git@{{ vault_slub_git_repo_fqdn }}:slub-digitalpreservation/rosettaExitStrategy.git"
- name: test if prerequisites for exit strategy script are installed
command: "perl -c /usr/local/bin/rosettaExitStrategy/perl/exit_strategy.pl"
register: depcheck
failed_when: "'syntax OK' not in depcheck.stderr"
changed_when: "depcheck.rc != 0"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment