feat: add uptime-kuma pull, logrotate deploy task, logrotate package
Some checks failed
CI/CD / syntax-check (push) Successful in 41s
CI/CD / deploy (push) Failing after 39s

- Add uptime_kuma_image to image pull loop in services/tasks/main.yml
- Add logrotate deploy task to services/tasks/configs.yml
- Add logrotate package to base_packages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jack 2026-03-22 03:54:24 +07:00
parent aa9706bbc4
commit a344998405
3 changed files with 10 additions and 0 deletions

View file

@ -22,3 +22,4 @@ base_packages:
- ca-certificates
- gnupg
- lsb-release
- logrotate

View file

@ -161,6 +161,14 @@
mode: "0600"
notify: Restart stack
- name: Deploy Traefik logrotate config
ansible.builtin.template:
src: logrotate/traefik.j2
dest: /etc/logrotate.d/traefik
owner: root
group: root
mode: "0644"
- name: Create acme.json for Let's Encrypt certificates
ansible.builtin.file:
path: "{{ services_root }}/traefik/acme.json"

View file

@ -28,6 +28,7 @@
- "{{ crowdsec_image }}"
- "{{ crowdsec_bouncer_image }}"
- "{{ authelia_image }}"
- "{{ uptime_kuma_image }}"
register: pull_result
changed_when: "'Status: Downloaded newer image' in pull_result.stdout"
retries: 5