move versions into inventory

This commit is contained in:
Nico Schottelius 2024-03-07 09:52:26 +09:00
parent 27b5b87bad
commit fe3e7b2669
11 changed files with 38 additions and 10 deletions

View file

@ -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:

View file

@ -0,0 +1,2 @@
elementweb_version: "v1.11.50"
nginx_version: "1.25.3-alpine"

View file

@ -1,2 +0,0 @@
ELEMENT_VERSION=v1.11.50
NGINX_VERSION=1.25.3-alpine

View file

@ -1 +0,0 @@
Test for Element

View file

@ -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

View file

@ -0,0 +1,2 @@
ELEMENT_VERSION={{ elementweb_version }}
NGINX_VERSION={{ nginx_version }}

View file

@ -0,0 +1,2 @@
synapse_version: "v1.96.6"
nginx_version: "1.25.3-alpine"

View file

@ -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

View file

@ -1 +0,0 @@
Test for Synapse

View file

@ -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

View file

@ -0,0 +1,2 @@
SYNAPSE_VERSION={{ synapse_version }}
NGINX_VERSION={{ nginx_version }}