Added error email

This commit is contained in:
Kevin Veen-Birkenbach 2021-10-21 07:26:08 +02:00
parent 90fa9f830f
commit 12a8516ad1
3 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,6 @@
template: src=templates/nextcloud.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf template: src=templates/nextcloud.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
notify: restart nginx notify: restart nginx
# @todo rename
- name: "create /home/administrator/volumes/docker/nextcloud/" - name: "create /home/administrator/volumes/docker/nextcloud/"
file: file:
path: "/home/administrator/volumes/docker/nextcloud" path: "/home/administrator/volumes/docker/nextcloud"

View File

@ -1,3 +1,4 @@
dependencies: dependencies:
- native-git - native-git
- native-primary-backup - native-primary-backup
- native-systemd-email

View File

@ -1,5 +1,6 @@
[Unit] [Unit]
Description=docker volume update Description=docker volume update
OnFailure=systemd-email@%n.service
[Service] [Service]
Type=oneshot Type=oneshot