From 974a89b59838ba3f4a785c21e17db2919741cb01 Mon Sep 17 00:00:00 2001 From: Arthur BOUDREAULT Date: Thu, 9 Jun 2022 15:35:42 +0200 Subject: [PATCH] feat(ynh_setup): add new symbolic links --- roles/ynh_setup/README-FR.md | 8 +++++++- roles/ynh_setup/README.md | 8 +++++++- roles/ynh_setup/defaults/main.yml | 6 ++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/roles/ynh_setup/README-FR.md b/roles/ynh_setup/README-FR.md index a7462bf..277243b 100644 --- a/roles/ynh_setup/README-FR.md +++ b/roles/ynh_setup/README-FR.md @@ -27,7 +27,13 @@ ynh_data_dirs: link: "/etc/yunohost" - path: "{{ ynh_dir }}/var" link: "/var/www" -ynh_data_dirs.enabled: True + - path: "{{ ynh_dir }}/share" + link: "/usr/share/yunohost" + - path: "{{ ynh_dir }}/backup" + link: "/home/yunohost.backup/archives" + - path: "{{ ynh_dir }}/home_apps" + link: "/home/yunohost.app" +ynh_data_dirs_enabled: True ``` - `ynh_install_script_url` est l'url du script d'installation des packages Yunohost, par défaut c'est le script officiel. Yunohost ne s'installe que sur Debian 10. diff --git a/roles/ynh_setup/README.md b/roles/ynh_setup/README.md index 4e77ad9..950b805 100644 --- a/roles/ynh_setup/README.md +++ b/roles/ynh_setup/README.md @@ -27,7 +27,13 @@ ynh_data_dirs: link: "/etc/yunohost" - path: "{{ ynh_dir }}/var" link: "/var/www" -ynh_data_dirs.enabled: True + - path: "{{ ynh_dir }}/share" + link: "/usr/share/yunohost" + - path: "{{ ynh_dir }}/backup" + link: "/home/yunohost.backup/archives" + - path: "{{ ynh_dir }}/home_apps" + link: "/home/yunohost.app" +ynh_data_dirs_enabled: True ``` - `ynh_install_script_url` The url provided downloads the official Yunohost script for installing Yunohost packages. Yunohost is only available on Debian 10. diff --git a/roles/ynh_setup/defaults/main.yml b/roles/ynh_setup/defaults/main.yml index 67c1244..7b26b6c 100644 --- a/roles/ynh_setup/defaults/main.yml +++ b/roles/ynh_setup/defaults/main.yml @@ -30,6 +30,12 @@ ynh_data_dirs: link: "/etc/yunohost" - path: "{{ ynh_dir }}/var" link: "/var/www" + - path: "{{ ynh_dir }}/share" + link: "/usr/share/yunohost" + - path: "{{ ynh_dir }}/backup" + link: "/home/yunohost.backup/archives" + - path: "{{ ynh_dir }}/home_apps" + link: "/home/yunohost.app" ynh_data_dirs_enabled: True # The list of Yunohost domains.