blob: 3b0228aa2a0d032e6fdf60ead54d7e5deae39350 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
|