ansible-collection-famedly-.../roles/hedwig/vars/main.yml
transcaffeine 2768ab7b73
update(hedwig): update to v1.0.0
This switches the config file format to yaml,
which allows to override the configuration using
`hedwig_extra_config`.
2021-05-10 07:13:27 +02:00

30 lines
1.4 KiB
YAML

---
hedwig_container_config_file: "{{ hedwig_container_workdir }}/{{ hedwig_config_filename }}"
hedwig_container_base_volumes:
- "{{ hedwig_config_file }}:{{ hedwig_container_config_file }}:ro"
hedwig_container_volumes: "{{ hedwig_container_base_volumes + hedwig_container_extra_volumes }}"
hedwig_container_base_labels:
version: "{{ hedwig_container_image_tag|default(hedwig_version) }}"
hedwig_container_labels_complete: "{{ hedwig_container_base_labels | combine(hedwig_container_labels) }}"
hedwig_base_config:
log:
level: "{{ hedwig_log_level | upper }}"
server:
bind_address: "{{ hedwig_server_bind_address }}"
port: "{{ hedwig_server_port }}"
hedwig:
app_id: "{{ hedwig_app_id }}"
fcm_admin_key: "{{ hedwig_fcm_admin_key }}"
fcm_collapse_key: "{{ hedwig_fcm_collapse_key }}"
fcm_notification_click_action: "{{ hedwig_fcm_notification_click_action }}"
fcm_notification_title: "{{ hedwig_fcm_notification_title }}"
fcm_notification_body: "{{ hedwig_fcm_notification_body }}"
fcm_notification_sound: "{{ hedwig_fcm_notification_body }}"
fcm_notification_icon: "{{ hedwig_fcm_notification_icon }}"
fcm_notification_tag: "{{ hedwig_fcm_notification_tag }}"
fcm_notification_android_channel_id: "{{ hedwig_fcm_notification_android_channel_id }}"
hedwig_config: "{{ hedwig_base_config | combine(hedwig_extra_config) }}"