change structure

add alerts
This commit is contained in:
Pim Kunis 2023-05-17 11:00:17 +02:00
parent 306abe6c32
commit 106116528d
14 changed files with 432 additions and 9 deletions

View file

@ -0,0 +1,20 @@
- name: Create working directory
file:
path: /srv/alerts
state: directory
- name: Copy ntfy config
copy:
src: ntfy_server.yml
dest: /srv/alerts/ntfy_server.yml
- name: Copy Docker compose file
copy:
src: "{{ role_path }}/docker-compose.yml"
dest: /srv/alerts/docker-compose.yml
- name: Deploy Docker compose
docker_compose:
project_src: /srv/alerts
pull: true
remove_orphans: true