diff --git a/tasks/fixity.yml b/tasks/fixity.yml index d3f5605..b8cde3d 100644 --- a/tasks/fixity.yml +++ b/tasks/fixity.yml @@ -86,10 +86,11 @@ cron: name: "Run fixity" job: "/usr/local/bin/fixity-cron" - minute: "0" - hour: "3" - day: "1" - month: "*/3" + minute: "{{ archivematica_fixity_cron_minute }}" + hour: "{{ archivematica_fixity_cron_hour }}" + day: "{{ archivematica_fixity_cron_day }}" + month: "{{ archivematica_fixity_cron_month }}" + weekday: "{{ archivematica_fixity_cron_weekday }}" user: "archivematica" cron_file: "fixity" state: "present" diff --git a/vars/main.yml b/vars/main.yml index e3c7782..1e2a9a5 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -23,6 +23,12 @@ archivematica_src_ss_gunicorn_config: "/etc/archivematica/storage-service.gunico archivematica_src_am_amauat_deps: [] archivematica_src_am_fixity_deps: [] +archivematica_fixity_cron_minute: "0" +archivematica_fixity_cron_hour: "0" +archivematica_fixity_cron_day: "*" +archivematica_fixity_cron_month: "*/6" +archivematica_fixity_cron_weekday: "*" + archivematica_src_virtualenv: "/var/lib/archivematica/.local/bin/virtualenv" archivematica_src_pip: "/var/lib/archivematica/.local/bin/pip" # Ubuntu 18 and CentOS/RHEL 7 only have python3.8