feat(shepherd): Add auto update shepherd role

Deprecates diun as it provides a simpler implementation for docker
swarm. Mark any containers you want auto updated with
`shepherd.autoupdate=true` and the rest with
`shepherd.autoupdate=false`. Everything untagged will not be watched (by
default), though this can be changed by setting the ansible default
variable `shepherd_filter_services: `.
This commit is contained in:
Marty Oehme 2025-03-07 18:19:53 +01:00
parent bc9104c3e8
commit 2dfe9f9b92
Signed by: Marty
GPG key ID: 4E535BC19C61886E
6 changed files with 98 additions and 0 deletions

View file

@ -0,0 +1,13 @@
---
shepherd_version: latest
shepherd_tz: Europe/Berlin
shepherd_ignored_services: label=shepherd.autoupdate=false
shepherd_filter_services: label=shepherd.autoupdate=true
shepherd_sleeptime: 5m
shepherd_rollback_on_failure: true
shepherd_image_autoclean_limit: 5
shepherd_notification_targets: