瀏覽代碼

Merge pull request #1901 from etkecc/patch-22

add missing retry to the apache docker image pull
pull/1902/head
Slavi Pantaleev 3 年之前
committed by GitHub
父節點
當前提交
7cb7f74e8e
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      roles/matrix-nginx-proxy/tasks/nginx-proxy/setup_metrics_auth.yml

+ 4
- 0
roles/matrix-nginx-proxy/tasks/nginx-proxy/setup_metrics_auth.yml 查看文件

@@ -22,6 +22,10 @@
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_apache_container_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_apache_container_force_pull }}"
register: result
retries: "{{ matrix_container_retries_count }}"
delay: "{{ matrix_container_retries_delay }}"
until: result is not failed

# We store the password in a file and make the `htpasswd` tool read it from there,
# as opposed to passing it directly on stdin (which will expose it to other processes on the server).


Loading…
取消
儲存