ansible-role-ntfy_service/defaults/main.yml

31 lines
992 B
YAML

---
create_cache_file: true
auth_file: /var/lib/ntfy/auth.sqlite
base_url: notify.koti.site
listen_port: 4880
attachment_cache_dir: /var/lib/ntfy/attachments
attachment_total_size_limit: "100G"
attachment_file_size_limit: "15M"
attachment_expiry_duration: "8h"
# Full list in
# https://ntfy.sh/docs/config/
admin_accounts:
- name: manager
password: "{{ vault_manager_password }}"
user_accounts: []
access_rules:
- username: manager
topic: '*' # or something like mytopic* or my_topic
permission: read-write # or read-only, write-only, deny
ntfy_configuration:
behind-proxy: false
listen-http: ":4880"
cache-file: /var/lib/ntfy.sqlite
cache-duration: 24h
auth-file: "{{ auth_file }}"
auth-default-access: deny-all
attachment-cache-dir: "{{ attachment_cache_dir }}"
attachment-total-size-limit: "{{ attachment_total_size_limit }}"
attachment-file-size-limit: "{{ attachment_file_size_limit }}"
attachment-expiry-duration: "{{ attachment_expiry_duration }}"