summaryrefslogtreecommitdiff
path: root/roles/coturn-install/tasks/letsencrypt.yml
blob: df201ef6714d27f92b0680bcffb6e910158c02f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: Installation de snapd
  apt:
    name:
      - snapd
    state: present

- name: Initialisation de snap et installtion de certbot
        (prend bien 5min, soyez patient)
  command: "{{ item }}"
  loop:
    - snap install core
    - snap refresh core
    - snap install --classic certbot

- name: Création du certificat SSL
  # yamllint disable-line rule:line-length
  command: /snap/bin/certbot certonly --standalone -d  {{ inventory_hostname }} -m supervision@nereide.fr --agree-tos --non-interactive