|
|
@ -61,6 +61,16 @@
|
|
|
|
- "{{ backup_mysql_database_scripts_directory }}"
|
|
|
|
- "{{ backup_mysql_database_scripts_directory }}"
|
|
|
|
- "{{ update_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
|
|
|
|
- name: Create backups directories
|
|
|
|
file:
|
|
|
|
file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
path: "{{ item }}"
|
|
|
|