common: Configure hdd dir for backups directory

dehydrated
Felix Stupp 4 years ago
parent 889a493fdd
commit 483eea3833
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -61,6 +61,16 @@
- "{{ backup_mysql_database_scripts_directory }}"
- "{{ update_scripts_directory }}"
- name: Configure hdd dir for backups
import_role:
name: misc/hdd_dir
vars:
use_hdd_directory: "{{ global_hdd_directory is defined }}"
hdd_source_dir: "{{ backups_directory }}"
hdd_directory_name: backups
tags:
- backups_hdd_dir
- name: Create backups directories
file:
path: "{{ item }}"

Loading…
Cancel
Save