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

refactor: add default vars to fail module

parent f80c0692
No related branches found
No related tags found
1 merge request!39Resolve "refactor: improve backup usage README"
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
- name: Fail if variables are not used correctly - name: Fail if variables are not used correctly
ansible.builtin.fail: ansible.builtin.fail:
msg: You need to define variable ynh_backup.apps and / or ynh_backup.system to True msg: You need to define variable ynh_backup.apps and / or ynh_backup.system to True
when: ynh_backup.apps is false and ynh_backup.system is false when: ynh_backup.apps | default(False) is false and ynh_backup.system | default(False) is false
tags: backup tags: backup
- name: Create backup folder if doesn't already exist - name: Create backup folder if doesn't already exist
......
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