diff --git a/aws-ansible/roles/clojars/tasks/cron.yml b/aws-ansible/roles/clojars/tasks/cron.yml index 3102dc8..a275ae7 100644 --- a/aws-ansible/roles/clojars/tasks/cron.yml +++ b/aws-ansible/roles/clojars/tasks/cron.yml @@ -57,12 +57,3 @@ hour: "1" job: "find /tmp -name 'upload-*' -type d -mtime +3 -exec rm -rf {} +" -- name: Set clearing of audit log - become: true - cron: - name: "Clear audit log info > 30 days old" - user: "clojars" - minute: "0" - hour: "0" - job: ". ~/bin/config_env; env PGPASSWORD=$POSTGRES_PASSWORD psql -h $POSTGRES_HOST -p 5432 -U clojars -c \"delete from audit where created < (now() - interval '30 days');\"" -