ansible-role-ntfy_service/defaults/main.yml

34 lines
1 KiB
YAML
Raw Normal View History

2022-10-11 09:19:04 +02:00
---
create_cache_file: true
auth_file: /var/lib/ntfy/auth.sqlite
2023-03-20 23:05:44 +01:00
fqdn: ntfy.example.com
2022-10-11 09:19:04 +02:00
listen_port: 4880
attachment_cache_dir: /var/lib/ntfy/attachments
attachment_total_size_limit: "100G"
attachment_file_size_limit: "15M"
attachment_expiry_duration: "8h"
2023-03-20 23:05:44 +01:00
handle_ufw: false
2022-10-11 09:19:04 +02:00
# 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:
2023-03-20 23:05:44 +01:00
behind-proxy: true
base_url: "http://{{ fqdn }}"
listen-http: "127.0.0.1:4880"
2022-10-11 09:19:04 +02:00
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 }}"