Uniformize

This commit is contained in:
Alexandre Iooss 2019-02-07 13:04:46 +01:00
parent d58a356e71
commit 79266d2476

View file

@ -1,34 +1,34 @@
---
# Install transport https
- name: Install transport-https
# Install HTTPS support for APT
- name: Install apt-transport-https
apt:
name: apt-transport-https
update_cache: yes
# Add the repository into source list
- name: configure riot repository
- name: Configure riot repository
apt_repository:
repo: "deb https://riot.im/packages/debian/ {{ ansible_distribution_release }} main"
# Add the key
- name: configure the apt key
- name: Configure the apt key
apt_key:
url: https://riot.im/packages/debian/repo-key.asc
id: E019645248E8F4A1
# Install riot
- name: install the riot package
- name: Install riot-web
apt:
name: riot-web
update_cache: yes
# Install nginx
- name: install nginx
- name: Install nginx
apt:
name: nginx
# Configure nginx
- name: configure nginx
- name: Configure nginx
template:
src: nginx-riot.j2
dest: /etc/nginx/sites-available/riot