16 lines
444 B
YAML
16 lines
444 B
YAML
---
|
|
- name: "cron | Setze Umgebungsvariablen"
|
|
ansible.builtin.cron:
|
|
user: "{{ zammad_user }}"
|
|
name: RAILS_ENV
|
|
job: production
|
|
env: true
|
|
|
|
- name: "cron | Richte cron ein"
|
|
ansible.builtin.cron:
|
|
user: "{{ zammad_user }}"
|
|
name: "Loesche unbenutzte Zammad-Kunden"
|
|
minute: "1"
|
|
hour: "1"
|
|
day: "1"
|
|
job: " cd {{ zammad_home }} && chronic rbenv exec rails r {{ local_scripts_dir }}/zammad-delete-customers.rb"
|