Beggining of Matrix Riot server
This commit is contained in:
parent
bdb4dadaa7
commit
4a3c11d719
4 changed files with 37 additions and 1 deletions
2
hosts
2
hosts
|
@ -4,7 +4,7 @@
|
||||||
horus ansible_host=10.128.0.1
|
horus ansible_host=10.128.0.1
|
||||||
|
|
||||||
[ovh-container]
|
[ovh-container]
|
||||||
ansible-awx ansible_host=10.128.0.53
|
matrix-riot-web ansible_host=10.128.0.53
|
||||||
services-bdd.adm.auro.re
|
services-bdd.adm.auro.re
|
||||||
phabricator.adm.auro.re
|
phabricator.adm.auro.re
|
||||||
horus-wiki ansible_host=10.128.0.51
|
horus-wiki ansible_host=10.128.0.51
|
||||||
|
|
6
matrix-riot-web.yml
Normal file
6
matrix-riot-web.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
# Install Riot web on corresponding containers
|
||||||
|
- hosts: matrix-riot-web
|
||||||
|
roles:
|
||||||
|
- matrix-riot-web
|
||||||
|
|
7
roles/matrix-riot-web/README.md
Normal file
7
roles/matrix-riot-web/README.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Rôle Riot Web
|
||||||
|
|
||||||
|
Ce rôle Ansible permet d'installer le client Web Riot.
|
||||||
|
|
||||||
|
Il doit être exécuté en tant que super-utilisateur
|
||||||
|
(option `-b` pour `--become`).
|
||||||
|
|
23
roles/matrix-riot-web/tasks/main.yml
Normal file
23
roles/matrix-riot-web/tasks/main.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
# Based on https://github.com/vector-im/riot-web#desktop-installation-for-debian-stretch
|
||||||
|
|
||||||
|
- name: Make APT support HTTPS protocol
|
||||||
|
apt:
|
||||||
|
name: apt-transport-https
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
|
- name: Configure Riot repository
|
||||||
|
apt_repository:
|
||||||
|
repo: "deb https://riot.im/packages/debian/ {{ ansible_distribution_release }} main"
|
||||||
|
|
||||||
|
- name: Configure Riot repository key
|
||||||
|
apt_key:
|
||||||
|
id: E019645248E8F4A1
|
||||||
|
url: https://riot.im/packages/debian/repo-key.asc
|
||||||
|
|
||||||
|
- name: Install Riot web
|
||||||
|
apt:
|
||||||
|
name: riot-web
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
|
# TODO host web page
|
Loading…
Reference in a new issue