initial commit

This commit is contained in:
pyrschtjag committed 2026-10-02 21:34:01 +04:00
commit 13eace9ce9
219 files changed
+6918

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
---
- name: install ntfy
ansible.builtin.apt:
name: ntfy
state: latest
update_cache: true
notify: restart ntfy
- name: set ntfy data directory ownership
ansible.builtin.file:
path: /var/lib/ntfy
state: directory
owner: _ntfy
group: _ntfy
mode: '0750'
recurse: true
- name: deploy ntfy config
ansible.builtin.template:
src: "{{ inventory_hostname }}/server.yml.j2"
dest: "/etc/ntfy/server.yml"
owner: root
group: root
mode: '0644'
notify: restart ntfy