diff options
| author | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2021-05-17 10:31:00 +0200 |
|---|---|---|
| committer | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2021-05-17 10:31:00 +0200 |
| commit | db573babedb63b53b5fdb32b369a0acec256185d (patch) | |
| tree | c0b884f4a20ebf4e146ff68ab08f2626eecc092e /roles | |
| parent | 7442828ccd30c8b405f8f5e18776f82c4e882d64 (diff) | |
lint
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/coturn-install/handlers/main.yml | 1 | ||||
| -rw-r--r-- | roles/coturn-install/tasks/letsencrypt.yml | 7 | ||||
| -rw-r--r-- | roles/coturn-install/tasks/main.yml | 6 | ||||
| -rw-r--r-- | roles/jibri-install/tasks/install-chromedriver.yml | 3 | ||||
| -rw-r--r-- | roles/jibri-install/tasks/install-googlechrome.yml | 1 | ||||
| -rw-r--r-- | roles/jibri-install/tasks/install-jibri.yml | 1 | ||||
| -rw-r--r-- | roles/jitsi-enable-multidomain/tasks/ssl.yml | 3 |
7 files changed, 13 insertions, 9 deletions
diff --git a/roles/coturn-install/handlers/main.yml b/roles/coturn-install/handlers/main.yml index 4ac752d..ee74c82 100644 --- a/roles/coturn-install/handlers/main.yml +++ b/roles/coturn-install/handlers/main.yml @@ -5,4 +5,3 @@ state: restarted daemon_reload: true enabled: true - diff --git a/roles/coturn-install/tasks/letsencrypt.yml b/roles/coturn-install/tasks/letsencrypt.yml index 3b0228a..df201ef 100644 --- a/roles/coturn-install/tasks/letsencrypt.yml +++ b/roles/coturn-install/tasks/letsencrypt.yml @@ -1,10 +1,12 @@ +--- - name: Installation de snapd apt: name: - snapd state: present -- name: Initialisation de snap et installtion de certbot (prendre bien 5min, soyez patient) +- name: Initialisation de snap et installtion de certbot + (prend bien 5min, soyez patient) command: "{{ item }}" loop: - snap install core @@ -12,4 +14,5 @@ - snap install --classic certbot - name: Création du certificat SSL - command: /snap/bin/certbot certonly --standalone -d {{ inventory_hostname }} -m supervision@nereide.fr --agree-tos --non-interactive
\ No newline at end of file + # yamllint disable-line rule:line-length + command: /snap/bin/certbot certonly --standalone -d {{ inventory_hostname }} -m supervision@nereide.fr --agree-tos --non-interactive diff --git a/roles/coturn-install/tasks/main.yml b/roles/coturn-install/tasks/main.yml index 848d7de..2b28bf6 100644 --- a/roles/coturn-install/tasks/main.yml +++ b/roles/coturn-install/tasks/main.yml @@ -26,7 +26,7 @@ owner: turnserver group: turnserver state: directory - recurse: yes + recurse: true loop: - /etc/letsencrypt/live - /etc/letsencrypt/archive @@ -40,10 +40,8 @@ - name: Ajout des capabilities à coturn lineinfile: path: /etc/systemd/system/coturn.service.d/override.conf - create: yes + create: true line: | [Service] AmbientCapabilities=CAP_NET_BIND_SERVICE notify: restart coturn - - diff --git a/roles/jibri-install/tasks/install-chromedriver.yml b/roles/jibri-install/tasks/install-chromedriver.yml index eb47cde..2e341e6 100644 --- a/roles/jibri-install/tasks/install-chromedriver.yml +++ b/roles/jibri-install/tasks/install-chromedriver.yml @@ -18,7 +18,8 @@ state: directory path: /usr/local/bin/ mode: 0644 - - name: "télécharge de chromedriver pour la version {{ _latest_release.content }}" + - name: "télécharge de chromedriver pour la version + {{ _latest_release.content }}" unarchive: src: "http://chromedriver.storage.googleapis.com/{{ _latest_release.content }}/chromedriver_linux64.zip" dest: /usr/local/bin diff --git a/roles/jibri-install/tasks/install-googlechrome.yml b/roles/jibri-install/tasks/install-googlechrome.yml index 5893d24..5ab6898 100644 --- a/roles/jibri-install/tasks/install-googlechrome.yml +++ b/roles/jibri-install/tasks/install-googlechrome.yml @@ -7,6 +7,7 @@ - name: Ajout du depot google apt_repository: + # yamllint disable-line rule:line-length repo: deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/google.gpg] http://dl.google.com/linux/chrome/deb/ stable main update_cache: true filename: google-chrome diff --git a/roles/jibri-install/tasks/install-jibri.yml b/roles/jibri-install/tasks/install-jibri.yml index 1a9b591..4b8a38b 100644 --- a/roles/jibri-install/tasks/install-jibri.yml +++ b/roles/jibri-install/tasks/install-jibri.yml @@ -17,6 +17,7 @@ - name: Ajout du depot jitsi apt_repository: + # yamllint disable-line rule:line-length repo: deb [signed-by=/etc/apt/trusted.gpg.d/jitsi.gpg] https://download.jitsi.org stable/ update_cache: true diff --git a/roles/jitsi-enable-multidomain/tasks/ssl.yml b/roles/jitsi-enable-multidomain/tasks/ssl.yml index ba1c7cf..3571c49 100644 --- a/roles/jitsi-enable-multidomain/tasks/ssl.yml +++ b/roles/jitsi-enable-multidomain/tasks/ssl.yml @@ -44,7 +44,8 @@ replace: path: /etc/nginx/sites-available/{{ item }}.conf regexp: - "[^?]ssl_certificate_key /etc/letsencrypt/live/{{inventory_hostname}}.*$" + # yamllint disable-line rule:line-length + "[^?]ssl_certificate_key /etc/letsencrypt/live/{{ inventory_hostname }}.*$" replace: "ssl_certificate_key /etc/letsencrypt/live/{{ item }}/privkey.pem;" loop: "{{ jitsi_multidomain_domain }}" |
