Add variables

This commit is contained in:
nemunaire 2023-03-14 13:20:39 +01:00
parent 9b77a54267
commit bcdaf96626
2 changed files with 4 additions and 1 deletions

3
defaults/main.yml Normal file
View File

@ -0,0 +1,3 @@
---
dir: "/media/backups"
path: "{{ dir }}/backup_strategy.sh"

View File

@ -2,4 +2,4 @@
- name: Copy the backup strategy script - name: Copy the backup strategy script
copy: copy:
src: backup_strategy.sh src: backup_strategy.sh
dest: /media/backups/backup_strategy.sh dest: "{{ path }}"