Add variables
This commit is contained in:
parent
9b77a54267
commit
bcdaf96626
2 changed files with 4 additions and 1 deletions
3
defaults/main.yml
Normal file
3
defaults/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dir: "/media/backups"
|
||||||
|
path: "{{ dir }}/backup_strategy.sh"
|
|
@ -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 }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue