refactor variable names

This commit is contained in:
Horvath Gergely
2020-03-08 00:28:14 +01:00
parent 310aa685f9
commit a5d94eec0b
13 changed files with 24 additions and 24 deletions

View File

@ -14,7 +14,7 @@ matrix_coturn_docker_image_force_pull: "{{ matrix_coturn_docker_image.endswith('
matrix_coturn_docker_network: "matrix-coturn"
matrix_coturn_base_path: "{{ matrix_base_data_path }}/coturn"
matrix_docker_coturn_src_files_path: "{{ matrix_coturn_base_path }}/docker-src"
matrix_coturn_docker_src_files_path: "{{ matrix_coturn_base_path }}/docker-src"
matrix_coturn_config_path: "{{ matrix_coturn_base_path }}/turnserver.conf"
# List of systemd services that matrix-coturn.service depends on

View File

@ -12,7 +12,7 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_username }}"
with_items:
- { src: "{{ matrix_docker_coturn_src_files_path }}", when: "{{ matrix_coturn_self_build }}"}
- { src: "{{ matrix_coturn_docker_src_files_path }}", when: "{{ matrix_coturn_self_build }}"}
when: matrix_riot_web_enabled|bool
- name: Ensure Coturn image is pulled
@ -26,7 +26,7 @@
- name: Ensure Coturn repository is present on self-build
git:
repo: https://github.com/instrumentisto/coturn-docker-image.git
dest: "{{ matrix_docker_coturn_src_files_path }}"
dest: "{{ matrix_coturn_docker_src_files_path }}"
version: "{{ matrix_coturn_docker_image.split(':')[1] }}"
force: "yes"
when: "matrix_coturn_enabled|bool and matrix_coturn_self_build"
@ -37,7 +37,7 @@
source: build
build:
dockerfile: Dockerfile
path: "{{ matrix_docker_coturn_src_files_path }}"
path: "{{ matrix_coturn_docker_src_files_path }}"
pull: yes
when: "matrix_coturn_enabled|bool and matrix_coturn_self_build"