Uniformize
This commit is contained in:
parent
d58a356e71
commit
79266d2476
1 changed files with 7 additions and 7 deletions
|
@ -1,34 +1,34 @@
|
||||||
---
|
---
|
||||||
# Install transport https
|
# Install HTTPS support for APT
|
||||||
- name: Install transport-https
|
- name: Install apt-transport-https
|
||||||
apt:
|
apt:
|
||||||
name: apt-transport-https
|
name: apt-transport-https
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
# Add the repository into source list
|
# Add the repository into source list
|
||||||
- name: configure riot repository
|
- name: Configure riot repository
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb https://riot.im/packages/debian/ {{ ansible_distribution_release }} main"
|
repo: "deb https://riot.im/packages/debian/ {{ ansible_distribution_release }} main"
|
||||||
|
|
||||||
# Add the key
|
# Add the key
|
||||||
- name: configure the apt key
|
- name: Configure the apt key
|
||||||
apt_key:
|
apt_key:
|
||||||
url: https://riot.im/packages/debian/repo-key.asc
|
url: https://riot.im/packages/debian/repo-key.asc
|
||||||
id: E019645248E8F4A1
|
id: E019645248E8F4A1
|
||||||
|
|
||||||
# Install riot
|
# Install riot
|
||||||
- name: install the riot package
|
- name: Install riot-web
|
||||||
apt:
|
apt:
|
||||||
name: riot-web
|
name: riot-web
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
# Install nginx
|
# Install nginx
|
||||||
- name: install nginx
|
- name: Install nginx
|
||||||
apt:
|
apt:
|
||||||
name: nginx
|
name: nginx
|
||||||
|
|
||||||
# Configure nginx
|
# Configure nginx
|
||||||
- name: configure nginx
|
- name: Configure nginx
|
||||||
template:
|
template:
|
||||||
src: nginx-riot.j2
|
src: nginx-riot.j2
|
||||||
dest: /etc/nginx/sites-available/riot
|
dest: /etc/nginx/sites-available/riot
|
||||||
|
|
Loading…
Reference in a new issue