updated to add ssl (not tested)
This commit is contained in:
12
playbook.yml
12
playbook.yml
@@ -1,19 +1,19 @@
|
||||
- name: Deploy Matrix + Nginx + Landing Page
|
||||
- name: Deploy Matrix + Nginx + Static Site with TLS
|
||||
hosts: matrix_servers
|
||||
become: yes
|
||||
vars:
|
||||
synapse_db_pass: "{{ vault_synapse_db_pass }}"
|
||||
synapse_registration_secret: "{{ vault_synapse_registration_secret }}"
|
||||
certbot_email: "{{ vault_certbot_email | default('admin@example.com') }}"
|
||||
|
||||
pre_tasks:
|
||||
- name: Ensure Podman is installed
|
||||
tasks:
|
||||
- name: Setup common dependencies
|
||||
import_role:
|
||||
name: common
|
||||
|
||||
- name: Deploy Nginx reverse proxy & landing page
|
||||
- name: Deploy Nginx + Static Site + TLS (with Certbot)
|
||||
import_role:
|
||||
name: nginx-proxy
|
||||
|
||||
- name: Deploy Synapse
|
||||
- name: Deploy Synapse (PostgreSQL + containers)
|
||||
import_role:
|
||||
name: matrix-synapse
|
||||
|
||||
Reference in New Issue
Block a user