mariadb: Add timezone information to database
This commit is contained in:
parent
4ef795d02e
commit
9c44999682
2 changed files with 37 additions and 0 deletions
|
@ -135,3 +135,18 @@
|
|||
job: /usr/local/sbin/mariadb-backup
|
||||
hour: "0"
|
||||
minute: "30"
|
||||
|
||||
- name: Copy script to check timezone data
|
||||
ansible.builtin.copy:
|
||||
dest: /usr/local/sbin/mysql_tzinfo_check
|
||||
src: mysql_tzinfo_check.sh
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: Create cron job for checking timezone data
|
||||
ansible.builtin.cron:
|
||||
name: mysql_tzinfo_check
|
||||
job: /usr/local/sbin/mysql_tzinfo_check
|
||||
hour: "3"
|
||||
minute: "15"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue