updated to deploy element, fixed directory path for config
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: Deploy Matrix + TURN + NGINX-PM + Teamspeak
|
||||
- name: Deploy Element + Matrix + Matrix_admin + TURN + NGINX-PM + Teamspeak
|
||||
hosts: all
|
||||
become: true
|
||||
collections:
|
||||
@@ -108,7 +108,11 @@
|
||||
dest: "{{ synapse_log_config }}"
|
||||
mode: "0644"
|
||||
|
||||
|
||||
- name: Render Element config file
|
||||
ansible.builtin.template:
|
||||
src: config.json.j2
|
||||
dest: "{{ element_config_path }}"
|
||||
mode: "0644"
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Start the NGINX Proxy Manager Container
|
||||
@@ -213,10 +217,23 @@
|
||||
|
||||
- name: Start Matrix Admin panel
|
||||
containers.podman.podman_container:
|
||||
name: "{{ adin_container_name }}"
|
||||
name: "{{ admin_container_name }}"
|
||||
image: "{{ synapse_admin_image }}"
|
||||
state: started
|
||||
network: "{{ podman_network }}"
|
||||
restart_policy: always
|
||||
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Element Web app
|
||||
#------------------------------------------------------------------
|
||||
- name: start Element Web Application
|
||||
containers.podman.podman_container:
|
||||
name: "{{ element_container_name }}"
|
||||
image: "{{ element_image }}"
|
||||
state: started
|
||||
volumes:
|
||||
- "{{ element_config_path }}:/app/config.json:Z"
|
||||
network: "{{ podman_network }}"
|
||||
restart_policy: always
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user