Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
Add head of log file to show what commands were actually run.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Stegic committed Dec 18, 2020
1 parent 7d0a7b7 commit f51cf3c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ansible/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@
{% elif _follow == "even strict" %}--robots=3 \{% endif %}
--advanced-maxlinks={{ _site.max_links | default(webarchiver_default.max_links) }} \
{% if _site.include_near_files | default(webarchiver_default.include_near_files) %}--near{% endif %}
echo
echo "The following command was executed to create the archive:"
echo
head -3 {{ _site.dest }}/hts-log.txt
echo
echo "Clearing *.tmp files..."
echo
Expand All @@ -37,6 +42,9 @@
find {{ _site.dest }} -type f -exec md5sum "{}" + > {{ _site.dest }}/checklist.txt
echo
echo "Done with {{ _site.site }}"
echo
echo "*******************************************"
echo
{% endfor %}
echo
echo "Archiving complete!"
Expand Down

0 comments on commit f51cf3c

Please sign in to comment.