- 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