Просмотр исходного кода

Added modified inventory files

pull/816/head
Pedro Guerra 5 лет назад
Родитель
Сommit
838a033b40
5 измененных файлов: 53 добавлений и 4 удалений
  1. +0
    -4
      .gitignore
  2. +0
    -0
      inventory/.gitkeep
  3. +0
    -0
      inventory/host_vars/.gitkeep
  4. +35
    -0
      inventory/host_vars/matrix.pguerra.pt/vars.yml
  5. +18
    -0
      inventory/hosts

+ 0
- 4
.gitignore Просмотреть файл

@@ -1,7 +1,3 @@
/inventory/*
!/inventory/.gitkeep
!/inventory/host_vars/.gitkeep
!/inventory/scripts
/roles/*/files/scratchpad
.DS_Store
.python-version

+ 0
- 0
inventory/.gitkeep Просмотреть файл


+ 0
- 0
inventory/host_vars/.gitkeep Просмотреть файл


+ 35
- 0
inventory/host_vars/matrix.pguerra.pt/vars.yml Просмотреть файл

@@ -0,0 +1,35 @@
# The bare domain name which represents your Matrix identity.
# Matrix user ids for your server will be of the form (`@user:<matrix-domain>`).
#
# Note: this playbook does not touch the server referenced here.
# Installation happens on another server ("matrix.<matrix-domain>").
#
# If you've deployed using the wrong domain, you'll have to run the Uninstalling step,
# because you can't change the Domain after deployment.
#
# Example value: example.com
matrix_domain: pguerra.pt

# This is something which is provided to Let's Encrypt when retrieving SSL certificates for domains.
#
# In case SSL renewal fails at some point, you'll also get an email notification there.
#
# If you decide to use another method for managing SSL certifites (different than the default Let's Encrypt),
# you won't be required to define this variable (see `docs/configuring-playbook-ssl-certificates.md`).
#
# Example value: someone@example.com
matrix_ssl_lets_encrypt_support_email: ''

# A shared secret (between Coturn and Synapse) used for authentication.
# You can put any string here, but generating a strong one is preferred (e.g. `pwgen -s 64 1`).
matrix_coturn_turn_static_auth_secret: ''

# A secret used to protect access keys issued by the server.
# You can put any string here, but generating a strong one is preferred (e.g. `pwgen -s 64 1`).
matrix_synapse_macaroon_secret_key: ''

# A Postgres password to use for the superuser Postgres user (called `matrix` by default).
#
# The playbook creates additional Postgres users and databases (one for each enabled service)
# using this superuser account.
matrix_postgres_connection_password: ''

+ 18
- 0
inventory/hosts Просмотреть файл

@@ -0,0 +1,18 @@
# We explicitly ask for your server's external IP address, because the same value is used for configuring Coturn.
# If you'd rather use a local IP here, make sure to set up `matrix_coturn_turn_external_ip_address`.
#
# To connect using a non-root user (and elevate to root with sudo later),
# replace `ansible_ssh_user=root` with something like this: `ansible_ssh_user=username become=true become_user=root`
#
# For improved Ansible performance, SSH pipelining is enabled by default in `ansible.cfg`.
# If this causes SSH connection troubles, disable it by adding `ansible_ssh_pipelining=False`
# to the host line below or by adding `ansible_ssh_pipelining: False` to your variables file.
#
# If you're running this Ansible playbook on the same server as the one you're installing to,
# consider adding an additional `ansible_connection=local` argument below.
#
# Ansible may fail to discover which Python interpreter to use on the host for some distros (like Ubuntu 20.04).
# You may sometimes need to explicitly add `ansible_python_interpreter=/usr/bin/python3` to lines below.

[matrix_servers]
matrix.pguerra.pt ansible_host={{ lookup('env', 'EXTERNAL_IP') }} ansible_ssh_user=root ansible_connection=local

Загрузка…
Отмена
Сохранить