chore(synapse): remove v from container version label

This commit is contained in:
Vincent Wilke 2020-09-19 11:44:30 +02:00 committed by Jan Christian Grünhage
parent 2436e3ab94
commit d3638814ca
2 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,7 @@ matrix_synapse_secrets_path: "{{ matrix_synapse_base_path }}/secrets"
matrix_synapse_dh_path: "{{ matrix_synapse_base_path }}/tls/{{ matrix_server_name }}.dh"
matrix_synapse_baseurl: "https://{{ matrix_server_name }}"
matrix_synapse_signing_key_path: "{{ matrix_synapse_base_path }}/tls/{{ matrix_server_name }}.signing.key"
matrix_synapse_version: "v1.19.3"
matrix_synapse_version: "1.19.3"
matrix_synapse_log_dir: "/var/log/matrix_synapse"
matrix_synapse_log_days_keep: 14
matrix_synapse_pid_file: "{{ matrix_synapse_base_path }}/synapse.pid"
@ -15,4 +15,5 @@ matrix_synapse_docker_ports: ["8008:8008", "8448:8448"]
matrix_synapse_docker_labels: {}
matrix_synapse_extra_docker_volumes: []
matrix_synapse_container_ref: "docker.io/matrixdotorg/synapse"
matrix_synapse_container_tag: "v{{ matrix_synapse_version }}"
matrix_synapse_container_name: "synapse"

View file

@ -37,7 +37,7 @@
repo: https://github.com/matrix-org/synapse
dest: "{{ matrix_synapse_base_path }}/synapse"
accept_hostkey: yes
version: "{{ matrix_synapse_version }}"
version: "v{{ matrix_synapse_version }}"
register: clone_synapse
tags:
- pre_install
@ -56,7 +56,7 @@
- name: install synapse with docker
docker_container:
name: "{{ matrix_synapse_container_name }}"
image: "{{ matrix_synapse_container_ref }}:{{ matrix_synapse_version }}"
image: "{{ matrix_synapse_container_ref }}:{{ matrix_synapse_container_tag }}"
ports: "{{ matrix_synapse_docker_ports }}"
labels: "{{ matrix_synapse_docker_labels_complete }}"
restart_policy: unless-stopped