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
Commit 608b757d authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT
Browse files

refactor(ynh_setup): new task to create backup directory and force symlink

parent 5ba58e75
No related branches found
No related tags found
1 merge request!35Resolve "fix: symlink /home/yunohost.backup/archives fails on creation"
Pipeline #6705 passed with warnings
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment