From 3beaa7047b3a7db2a4a0fcc3b1b284a962a5bba1 Mon Sep 17 00:00:00 2001
From: Arthur BOUDREAULT <boudreaultarthur@ik.me>
Date: Tue, 12 Oct 2021 10:03:33 +0200
Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8Frefactor:=20Git=20is=20needed?=
 =?UTF-8?q?=20for=20ynh=20install?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tasks/main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index 604f584..3d9e9ba 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -2,6 +2,7 @@
 - name: Install requirements
   ansible.builtin.apt:
     name:
+      - git
       - dialog
     state: present
 
@@ -25,8 +26,7 @@
     yunohost tools postinstall \
       --domain {{ ynh_main_domain }} \
       --password {{ ynh_admin_password }} \
-      {% if ynh_ignore_dyndns_server == True %} --ignore-dyndns {% endif %}
-      "
+      {% if ynh_ignore_dyndns_server == True %} --ignore-dyndns {% endif %}"
   when: ynh_file_install.stat.exists == False
 
 - name: Create extra domains
-- 
GitLab