Beggining of Matrix Riot server

This commit is contained in:
Alexandre Iooss 2019-02-05 11:39:58 +01:00
parent bdb4dadaa7
commit 4a3c11d719
4 changed files with 37 additions and 1 deletions

2
hosts
View file

@ -4,7 +4,7 @@
horus ansible_host=10.128.0.1
[ovh-container]
ansible-awx ansible_host=10.128.0.53
matrix-riot-web ansible_host=10.128.0.53
services-bdd.adm.auro.re
phabricator.adm.auro.re
horus-wiki ansible_host=10.128.0.51

6
matrix-riot-web.yml Normal file
View file

@ -0,0 +1,6 @@
---
# Install Riot web on corresponding containers
- hosts: matrix-riot-web
roles:
- matrix-riot-web

View 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`).

View 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