configure serveur name
This commit is contained in:
parent
b2bc03ca49
commit
2f296430b3
2 changed files with 13 additions and 1 deletions
2
group_vars/all/matrix.yml
Normal file
2
group_vars/all/matrix.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
matrix_server_name: pp.intra
|
|
@ -13,10 +13,13 @@
|
|||
local: C
|
||||
template: template0
|
||||
|
||||
- name: Install apt transport https
|
||||
- name: Install apt utils
|
||||
apt:
|
||||
name:
|
||||
- apt-transport-https
|
||||
- gnupg2
|
||||
- debconf
|
||||
- debconf-utils
|
||||
state: latest
|
||||
update_cache: true
|
||||
register: apt_result
|
||||
|
@ -34,6 +37,13 @@
|
|||
repo: "deb [signed-by=/usr/share/keyrings/matrix-org-archive-keyring.gpg] https://packages.matrix.org/debian/ {{ ansible_facts['lsb']['codename'] }} main"
|
||||
state: present
|
||||
|
||||
- name: Configure debian question for hostname
|
||||
debconf:
|
||||
name: matrix-synapse-py3
|
||||
question: matrix-synapse/server-name
|
||||
value: "{{ matrix_server_name }}"
|
||||
vtype: string
|
||||
|
||||
- name: Install synapse
|
||||
apt:
|
||||
name:
|
||||
|
|
Loading…
Reference in a new issue