Added cron service for meta and git
4 files changed, 16 insertions(+), 6 deletions(-) M roles/git.sr.ht/tasks/main.yml M roles/meta.sr.ht/tasks/main.yml M roles/sr.ht-core/tasks/main.yml M roles/sr.ht-core/tasks/packages.yml
M roles/git.sr.ht/tasks/main.yml => roles/git.sr.ht/tasks/main.yml +5 -0
@@ 24,3 24,8 @@ - name: Setup nginx ansible.builtin.import_tasks: nginx.yml - name: Enable periodic cron service ansible.builtin.lineinfile: path: /etc/crontabs/root line: "*/20 * * * * gitsrht-periodic"
M roles/meta.sr.ht/tasks/main.yml => roles/meta.sr.ht/tasks/main.yml +5 -0
@@ 18,3 18,8 @@ - name: Setup nginx ansible.builtin.import_tasks: nginx.yml - name: Enable periodic cron service ansible.builtin.lineinfile: path: /etc/crontabs/root line: "0 2 * * * metasrht-daily"
M roles/sr.ht-core/tasks/main.yml => roles/sr.ht-core/tasks/main.yml +6 -0
@@ 5,3 5,9 @@ ansible.builtin.import_tasks: db.yml - name: Copy config file ansible.builtin.import_tasks: config.yml # uses the builtin busybox crond daemon by default - name: Enable & start cron daemon ansible.builtin.service: name: crond state: started
M roles/sr.ht-core/tasks/packages.yml => roles/sr.ht-core/tasks/packages.yml +0 -6