|
|
@ -2,10 +2,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
# TODO Move backup job to special user
|
|
|
|
# TODO Move backup job to special user
|
|
|
|
|
|
|
|
|
|
|
|
- name: Configure auto backup for mysql database {{ database_name }}
|
|
|
|
- name: Configure auto backup mysql database of {{ database_name }}
|
|
|
|
cron:
|
|
|
|
cron:
|
|
|
|
hour: 1
|
|
|
|
hour: 1
|
|
|
|
minute: 0
|
|
|
|
minute: 0
|
|
|
|
job: "{{ global_helper_directory }}/backup_mysql_database.sh {{ database_name | quote }}"
|
|
|
|
job: "{{ global_helper_directory }}/backup_mysql_database.sh {{ database_name | quote }}"
|
|
|
|
name: "backup mysql database {{ database_name }}"
|
|
|
|
name: "backup mysql database of {{ database_name }}"
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|