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

test conditional

parent 9ccf3224
No related branches found
No related tags found
No related merge requests found
Pipeline #7372 passed with warnings
...@@ -17,6 +17,11 @@ ...@@ -17,6 +17,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # # along with this program. If not, see <http://www.gnu.org/licenses/>. #
# # # #
#-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------#
- name: Fail if variables are not used correctly
ansible.builtin.fail:
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
- name: Create backup folder if doesn't already exist - name: Create backup folder if doesn't already exist
ansible.builtin.file: ansible.builtin.file:
......
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