mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 06:31:04 +01:00
Added error email
This commit is contained in:
parent
90fa9f830f
commit
12a8516ad1
@ -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"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- native-git
|
- native-git
|
||||||
- native-primary-backup
|
- native-primary-backup
|
||||||
|
- native-systemd-email
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user