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

Resolve "fix: symlink /home/yunohost.backup/archives fails on creation"

1 file
+ 15
5
Compare changes
  • Side-by-side
  • Inline
@@ -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 }}"
@@ -48,14 +57,15 @@
- name: Create symbolic links for Yunohost subdirs
ansible.builtin.file:
src: "{{ item.path }}"
dest: "{{ item.link }}"
src: "{{ item.path }}"
dest: "{{ item.link }}"
state: link
force: yes
with_items:
- "{{ ynh_data_dirs }}"
- "{{ ynh_data_dirs }}"
tags:
- linux
when: ynh_data_dirs_enabled
- linux
when: ynh_data_dirs_enabled
- name: Test if Yunohost is already installed
ansible.builtin.stat: path=/etc/yunohost/installed
Loading