diff options
| author | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2021-04-27 10:19:53 +0000 |
|---|---|---|
| committer | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2021-04-27 10:19:53 +0000 |
| commit | 38c5dc95bf71bc02b47c914505ce570b0771ab5b (patch) | |
| tree | 8c6f401aec1b3db957419a12da316a992e99c884 /roles/coturn-install/tasks/letsencrypt.yml | |
| parent | 7c4cf16d05d5a74584787d78000f506698a0d10e (diff) | |
Resolve "installation d'un coturn externe"
Diffstat (limited to 'roles/coturn-install/tasks/letsencrypt.yml')
| -rw-r--r-- | roles/coturn-install/tasks/letsencrypt.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/coturn-install/tasks/letsencrypt.yml b/roles/coturn-install/tasks/letsencrypt.yml new file mode 100644 index 0000000..3b0228a --- /dev/null +++ b/roles/coturn-install/tasks/letsencrypt.yml @@ -0,0 +1,15 @@ +- name: Installation de snapd + apt: + name: + - snapd + state: present + +- name: Initialisation de snap et installtion de certbot (prendre bien 5min, soyez patient) + command: "{{ item }}" + loop: + - snap install core + - snap refresh core + - 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 |
