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 30cb0c0d authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT
Browse files

--wip-- [skip ci]

parent 2e8dacdd
No related branches found
No related tags found
1 merge request!20Draft: Resolve "configure data and conf dir"
Pipeline #3495 skipped
......@@ -23,6 +23,9 @@ ynh_install_script_url: https://install.yunohost.org
ynh_admin_password: MYINSECUREPWD_PLZ_OVERRIDE_THIS
ynh_data_dir: "/data/var/www"
ynh_conf_dir: "/data/etc/yunohost"
# The list of Yunohost domains.
ynh_main_domain: domain.tld
ynh_extra_domains: null
......
......@@ -25,6 +25,23 @@
- dialog
state: present
- name: Create data folders
ansible.builtin.file:
path: "{{ item }}"
state: directory
mode: 0770
loop:
- "{{ ynh_data_dir }}"
- "{{ ynh_conf_dir }}"
tags: test
- name: Create symbolic for Yunohost data directory
ansible.builtin.file:
src: /etc/yunohost
dest: "{{ ynh_data_dir }}/test"
state: link
tags: test
- name: Test if Yunohost is already installed
ansible.builtin.stat: path=/etc/yunohost/installed
register: ynh_file_install
......
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