Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • lydra/yunohost/ansible-yunohost
1 result
Show changes
Commits on Source (8)
......@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and the commits message folow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
## [[1.0.2] - 2022-06-22]
### Added
- In role ynh_setup:
- New symbolic links have been added in `/defaults/main.yml`. You can now define symbolic links for `/usr/share/yunohost`, `/home/yunohost.backup/archives` and `/home/yunohost.app`.
### Changed
- In role ynh_setup:
- README.md and README-FR.md have been updated to explain more about the new symbolic links.
## [[1.0.1] - 2022-06-02]
......
namespace: lydra
name: yunohost
version: 1.0.1
version: 1.0.2
readme: README.md
authors:
- Lydra (<support@lydra.fr>)
......
......@@ -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.
......
......@@ -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.
......
......@@ -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.
......
......@@ -35,6 +35,15 @@
- pkg
- linux
- name: Create backup directory
ansible.builtin.file:
path: "/home/yunohost.backup/archives"
state: directory
mode: "0755"
tags:
- linux
when: ynh_data_dirs_enabled
- name: Create data and config subdirs of Yunohost
ansible.builtin.file:
path: "{{ item.path }}"
......@@ -51,6 +60,7 @@
src: "{{ item.path }}"
dest: "{{ item.link }}"
state: link
force: yes
with_items:
- "{{ ynh_data_dirs }}"
tags:
......