Minor fixes after deploying with Synapse.
This commit is contained in:
parent
45d57b9b30
commit
1bdb976435
4
handlers/main.yml
Normal file
4
handlers/main.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
- name: restart ntfy-alertmanager
|
||||
service: name=ntfy-alertmanager state=restarted
|
||||
become: true
|
@ -4,6 +4,7 @@
|
||||
repo: https://git.xenrox.net/~xenrox/ntfy-alertmanager
|
||||
dest: "{{ ansible_env.HOME }}/src/ntfy-alertmanager"
|
||||
version: "{{ ntfy_alertmanager_version }}"
|
||||
force: true
|
||||
register: git_repository
|
||||
|
||||
- name: Create the required version.txt file for building ntfy-alertmanager
|
||||
@ -25,6 +26,7 @@
|
||||
dest: /usr/local/bin/
|
||||
mode: 0755
|
||||
become: true
|
||||
notify: restart ntfy-alertmanager
|
||||
|
||||
- name: Ensure configuration directory for ntfy-alertmanager
|
||||
ansible.builtin.file:
|
||||
@ -38,6 +40,7 @@
|
||||
src: config.j2
|
||||
dest: /etc/ntfy-alertmanager/config
|
||||
become: true
|
||||
notify: restart ntfy-alertmanager
|
||||
|
||||
- name: Copy systemd service file for ntfy-alertmanager
|
||||
ansible.builtin.copy:
|
||||
|
Loading…
Reference in New Issue
Block a user