Просмотр исходного кода

Update docs/configuring-playbook-ntfy.md: add the common section "Extending the configuration"

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4012/head
Suguru Hirahara 1 год назад
Родитель
Сommit
0ae2f08e33
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
1 измененных файлов: 10 добавлений и 4 удалений
  1. +10
    -4
      docs/configuring-playbook-ntfy.md

+ 10
- 4
docs/configuring-playbook-ntfy.md Просмотреть файл

@@ -30,10 +30,6 @@ ntfy_enabled: true
# log_level: DEBUG # log_level: DEBUG
``` ```


For a more complete list of variables that you could override, see the [`defaults/main.yml` file](https://github.com/mother-of-all-self-hosting/ansible-role-ntfy/blob/main/defaults/main.yml) of the ntfy Ansible role.

For a complete list of ntfy config options that you could put in `ntfy_configuration_extension_yaml`, see the [ntfy config documentation](https://ntfy.sh/docs/config/#config-options).

### Adjusting the ntfy URL (optional) ### Adjusting the ntfy URL (optional)


By tweaking the `ntfy_hostname` variable, you can easily make the service available at a **different hostname** than the default one. By tweaking the `ntfy_hostname` variable, you can easily make the service available at a **different hostname** than the default one.
@@ -47,6 +43,16 @@ ntfy_hostname: push.example.com


After changing the domain, **you may need to adjust your DNS** records to point the ntfy domain to the Matrix server. After changing the domain, **you may need to adjust your DNS** records to point the ntfy domain to the Matrix server.


### Extending the configuration

There are some additional things you may wish to configure about the component.

Take a look at:

- [ntfy role](https://github.com/mother-of-all-self-hosting/ansible-role-ntfy)'s [`defaults/main.yml`](https://github.com/mother-of-all-self-hosting/ansible-role-ntfy/blob/main/defaults/main.yml) for some variables that you can customize via your `vars.yml` file. You can override settings (even those that don't have dedicated playbook variables) using the `ntfy_configuration_extension_yaml` variable

For a complete list of ntfy config options that you could put in `ntfy_configuration_extension_yaml`, see the [ntfy config documentation](https://ntfy.sh/docs/config/#config-options).

## Installing ## Installing


After configuring the playbook and potentially [adjusting your DNS records](#adjusting-dns-records), run the playbook with [playbook tags](playbook-tags.md) as below: After configuring the playbook and potentially [adjusting your DNS records](#adjusting-dns-records), run the playbook with [playbook tags](playbook-tags.md) as below:


Загрузка…
Отмена
Сохранить