computer-playbook/roles/sys-hlth-docker-volumes/templates/sys-hlth-docker-volumes.service.j2

8 lines
248 B
Django/Jinja

[Unit]
Description=Checking docker health
OnFailure=sys-alm-compose.cymais@%n.service
[Service]
Type=oneshot
ExecStart=/bin/bash {{ health_docker_volumes_folder }}sys-hlth-docker-volumes.sh "{{ whitelisted_anonymous_docker_volumes | join(' ') }}"