ソースを参照

Update files for the matrix-alertmanager-receiver: rename config.yml.j2 to config.yaml.j2 in order to improve consistency

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3997/head
Suguru Hirahara 1年前
コミット
21b5963f63
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: E4F9743DAB4B7B75
3個のファイルの変更2行の追加2行の削除
  1. +1
    -1
      docs/configuring-playbook-alertmanager-receiver.md
  2. +1
    -1
      roles/custom/matrix-alertmanager-receiver/defaults/main.yml
  3. +0
    -0
      roles/custom/matrix-alertmanager-receiver/templates/config.yaml.j2

+ 1
- 1
docs/configuring-playbook-alertmanager-receiver.md ファイルの表示

@@ -89,7 +89,7 @@ There are some additional things you may wish to configure about the component.
Take a look at:

- `roles/custom/matrix-alertmanager-receiver/defaults/main.yml` for some variables that you can customize via your `vars.yml` file
- `roles/custom/matrix-alertmanager-receiver/templates/config.yml.j2` for the component's default configuration. You can override settings (even those that don't have dedicated playbook variables) using the `matrix_alertmanager_receiver_configuration_extension_yaml` variable
- `roles/custom/matrix-alertmanager-receiver/templates/config.yaml.j2` for the component's default configuration. You can override settings (even those that don't have dedicated playbook variables) using the `matrix_alertmanager_receiver_configuration_extension_yaml` variable

## Installing



+ 1
- 1
roles/custom/matrix-alertmanager-receiver/defaults/main.yml ファイルの表示

@@ -218,7 +218,7 @@ matrix_alertmanager_receiver_config_templating_resolved_template: |-
#
# For a more advanced customization, you can extend the default (see `matrix_alertmanager_receiver_configuration_extension_yaml`)
# or completely replace this variable with your own template.
matrix_alertmanager_receiver_configuration_yaml: "{{ lookup('template', 'templates/config.yml.j2') }}"
matrix_alertmanager_receiver_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"

matrix_alertmanager_receiver_configuration_extension_yaml: |
# Your custom YAML configuration for matrix-alertmanager-receiver goes here.


roles/custom/matrix-alertmanager-receiver/templates/config.yml.j2 → roles/custom/matrix-alertmanager-receiver/templates/config.yaml.j2 ファイルの表示


読み込み中…
キャンセル
保存