move versions into inventory
This commit is contained in:
parent
27b5b87bad
commit
fe3e7b2669
11 changed files with 38 additions and 10 deletions
|
@ -28,6 +28,9 @@ runa:
|
|||
logout_redirect_url: ""
|
||||
turn_uris: []
|
||||
turn_shared_secret: ""
|
||||
elementweb_version: "v1.11.59"
|
||||
nginx_version: "1.25.3-alpine"
|
||||
synapse_version: "v1.101.0"
|
||||
children:
|
||||
ank:
|
||||
hosts:
|
||||
|
@ -148,3 +151,10 @@ runa:
|
|||
matrix_service: "turn"
|
||||
turn:
|
||||
realm: "mtx-turn-1.lta.internal.ru.com"
|
||||
dev:
|
||||
children:
|
||||
lta:
|
||||
prod:
|
||||
children:
|
||||
ank:
|
||||
lat:
|
||||
|
|
2
ansible/roles/elementweb/defaults/main.yml
Normal file
2
ansible/roles/elementweb/defaults/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
elementweb_version: "v1.11.50"
|
||||
nginx_version: "1.25.3-alpine"
|
|
@ -1,2 +0,0 @@
|
|||
ELEMENT_VERSION=v1.11.50
|
||||
NGINX_VERSION=1.25.3-alpine
|
|
@ -1 +0,0 @@
|
|||
Test for Element
|
|
@ -8,6 +8,16 @@
|
|||
- files
|
||||
- test
|
||||
|
||||
- name: Create container .env
|
||||
ansible.builtin.template:
|
||||
src: "docker/.env.j2"
|
||||
dest: /home/{{ ansible_user }}/docker_compose/{{ matrix_service }}/.env
|
||||
owner: "{{ ansible_user }}"
|
||||
mode: '0644'
|
||||
tags:
|
||||
- docker
|
||||
- env
|
||||
|
||||
- name: Create nginx dir
|
||||
ansible.builtin.file:
|
||||
path: /home/{{ ansible_user }}/docker_compose/{{ matrix_service }}/nginx
|
||||
|
@ -34,4 +44,4 @@
|
|||
owner: "{{ ansible_user }}"
|
||||
mode: '0644'
|
||||
tags:
|
||||
- test
|
||||
- config
|
||||
|
|
2
ansible/roles/elementweb/templates/docker/.env.j2
Normal file
2
ansible/roles/elementweb/templates/docker/.env.j2
Normal file
|
@ -0,0 +1,2 @@
|
|||
ELEMENT_VERSION={{ elementweb_version }}
|
||||
NGINX_VERSION={{ nginx_version }}
|
2
ansible/roles/synapse/defaults/main.yml
Normal file
2
ansible/roles/synapse/defaults/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
synapse_version: "v1.96.6"
|
||||
nginx_version: "1.25.3-alpine"
|
|
@ -1,5 +0,0 @@
|
|||
SYNAPSE_VERSION=v1.96.1
|
||||
NGINX_VERSION=1.25.3-alpine
|
||||
|
||||
SYNAPSE_SERVER_NAME=corp-serv.net
|
||||
NGINX_SYNAPSE_FQDN=synapse.corp-apps.com
|
|
@ -1 +0,0 @@
|
|||
Test for Synapse
|
|
@ -13,6 +13,15 @@
|
|||
mode: '0755'
|
||||
tags:
|
||||
- files
|
||||
- name: Create container .env
|
||||
ansible.builtin.template:
|
||||
src: "docker/.env.j2"
|
||||
dest: /home/{{ ansible_user }}/docker_compose/{{ matrix_service }}/.env
|
||||
owner: "{{ ansible_user }}"
|
||||
mode: '0644'
|
||||
tags:
|
||||
- docker
|
||||
- env
|
||||
- name: Create nginx dir
|
||||
ansible.builtin.file:
|
||||
path: /home/{{ ansible_user }}/docker_compose/{{ matrix_service }}/nginx
|
||||
|
|
2
ansible/roles/synapse/templates/docker/.env.j2
Normal file
2
ansible/roles/synapse/templates/docker/.env.j2
Normal file
|
@ -0,0 +1,2 @@
|
|||
SYNAPSE_VERSION={{ synapse_version }}
|
||||
NGINX_VERSION={{ nginx_version }}
|
Loading…
Reference in a new issue