瀏覽代碼

Add missing matrix_client_commet_container_image_force_pull variable (#5008)

The `matrix-client-commet` role's pull task references
`matrix_client_commet_container_image_force_pull`, but the variable
was never defined in defaults. Users setting
`matrix_client_commet_container_image_self_build: false` would hit an
undefined-variable failure.

Define it using the same pattern as other client roles (force-pull on
moving tags), covering both `:latest` and `:main` since Commet's
default version is `main`.
pull/4840/head
D4GU 1 月之前
committed by GitHub
父節點
當前提交
2361d5ac5d
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      roles/custom/matrix-client-commet/defaults/main.yml

+ 1
- 0
roles/custom/matrix-client-commet/defaults/main.yml 查看文件

@@ -30,6 +30,7 @@ matrix_client_commet_container_image_self_build_repo: "https://github.com/commet
matrix_client_commet_container_image_self_build_git_hash: ""
matrix_client_commet_container_image_self_build_version_tag: "{{ matrix_client_commet_version }}"
matrix_client_commet_container_image: "localhost/matrix-client-commet:{{ matrix_client_commet_version }}"
matrix_client_commet_container_image_force_pull: "{{ matrix_client_commet_container_image.endswith(':latest') or matrix_client_commet_container_image.endswith(':main') }}"

# The in-container port nginx listens on
matrix_client_commet_container_port: 8080


Loading…
取消
儲存