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.