Skip to content

Commit

Permalink
YDA-5282: add cronjob to lift embargos on vault packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Sep 25, 2023
1 parent 0a3311e commit d84d475
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roles/yoda_rulesets/tasks/yoda-ruleset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,17 @@
job: '/bin/irule -r irods_rule_engine_plugin-irods_rule_language-instance -F /etc/irods/yoda-ruleset/tools/retry-copy-to-vault.r >/dev/null 2>&1'


- name: Configure cronjob to lift embargos
become_user: "{{ irods_service_account }}"
become: true
ansible.builtin.cron:
name: 'lift-embargos.r'
minute: '1'
hour: '0'
day: '*'
job: '/bin/irule -r irods_rule_engine_plugin-irods_rule_language-instance -F /etc/irods/yoda-ruleset/tools/lift-embargos.r >/dev/null 2>&1'


- name: Configure cronjob to clean up revisions
become_user: "{{ irods_service_account }}"
become: true
Expand Down

0 comments on commit d84d475

Please sign in to comment.