Fix various yamllint warnings

This commit is contained in:
Alexandre Iooss 2019-03-12 17:22:39 +01:00
parent 5dfd8eacc5
commit bc1459bc51
4 changed files with 26 additions and 11 deletions

View file

@ -2,7 +2,8 @@
# Install Matrix Synapse on corresponding containers # Install Matrix Synapse on corresponding containers
- hosts: synapse.adm.auro.re - hosts: synapse.adm.auro.re
vars: vars:
mxisd_version: 1.3.1 mxisd_releases: https://github.com/kamax-matrix/mxisd/releases
mxisd_deb: "{{ mxisd_releases }}/download/v1.3.1/mxisd_1.3.1_all.deb"
roles: roles:
- debian-backports - debian-backports
- matrix-synapse - matrix-synapse

View file

@ -9,10 +9,26 @@
dest: /etc/apt/preferences.d/nodejs dest: /etc/apt/preferences.d/nodejs
mode: 0644 mode: 0644
# TODO # For HTTPS apt
# apt-transport-https - name: Install HTTPS apt
# curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - apt:
# echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list name: apt-transport-https
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Configure the apt key
apt_key:
url: https://dl.yarnpkg.com/debian/pubkey.gpg
id: 1646B01B86E50310
register: apt_key_result
retries: 3
until: apt_key_result is succeeded
- name: Configure Yarn repository
apt_repository:
repo: "deb https://dl.yarnpkg.com/debian/ stable main"
# Install CodiMD dependencies # Install CodiMD dependencies
- name: Install required packages - name: Install required packages

View file

@ -69,10 +69,8 @@
service: service:
name: etherpad-lite name: etherpad-lite
state: started state: started
enabled: True enabled: true
# La configuration de la clé `dbSettings` n'est pas encore automatisé !
# TODO-list # TODO-list
# * Configure admin user, logs # La configuration de la clé `dbSettings` n'est pas encore automatisé !
# Plugins : https://framacloud.org/fr/cultiver-son-jardin/etherpad.html#concernant-framapad # * Configure logs

View file

@ -1,7 +1,7 @@
--- ---
- name: Install mxisd - name: Install mxisd
apt: apt:
deb: https://github.com/kamax-matrix/mxisd/releases/download/v{{ mxisd_version }}/mxisd_{{ mxisd_version }}_all.deb deb: "{{ mxisd_deb }}"
register: apt_result register: apt_result
retries: 3 retries: 3
until: apt_result is succeeded until: apt_result is succeeded