From 74756e93f4ba60eff398a3a3cec69722936c0880 Mon Sep 17 00:00:00 2001
From: Romain Thouvenin <romain@thouvenin.pro>
Date: Mon, 16 Nov 2020 07:52:20 +0100
Subject: [PATCH] Run diagnosis before installing certificates #4

---
 tasks/main.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tasks/main.yml b/tasks/main.yml
index 4ad3764..e5af5d0 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -34,6 +34,9 @@
   include: domains.yml
   when: yunohost.extra_domains
 
+- name: Run diagnosis # Required to install certificates
+  shell: yunohost diagnosis run
+
 - name: Install certificates
   shell: yunohost domain cert-install
   changed_when: False
-- 
GitLab