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

refactor: restructuring role into collection #6

parent 30ca7624
No related branches found
No related tags found
No related merge requests found
Pipeline #3694 passed with warnings
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# # # #
#-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------#
# Variables for apps backup # Variables for backup
ynh_backup: ynh_backup:
scheduled: False scheduled: False
# directory: "/data/backup" # directory: "/data/backup"
......
...@@ -20,4 +20,4 @@ ...@@ -20,4 +20,4 @@
- name: Enable Yunohost apps backup - name: Enable Yunohost apps backup
ansible.builtin.include_tasks: backup.yml ansible.builtin.include_tasks: backup.yml
when: ynh_apps_backup.scheduled when: ynh_backup.scheduled
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
{% elif ynh_backup.apps %} {% elif ynh_backup.apps %}
yunohost backup create --apps yunohost backup create --apps
{% endif %} {% endif %}
{% if ynh_backup.system is false and ynh_backup.apps is false %} {% if ynh_backup.system is false and ynh_backup.apps is false %}
echo "Read the readme to know more about ynh_backup.system and ynh_backup.apps" echo "Read the readme to know more about ynh_backup.system and ynh_backup.apps"
echo "TO BE DEFINED" echo "TO BE DEFINED"
exit 1 exit 1
{% endif %}
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