Fix typos
Add file extension to templates
This commit is contained in:
parent
15ce24b532
commit
1f1c8d1542
10 changed files with 11 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
- name: "Backup | Copy automysqlbackup configuration"
|
||||
ansible.builtin.template:
|
||||
src: automysqlbackup
|
||||
src: automysqlbackup.j2
|
||||
dest: /etc/default/automysqlbackup
|
||||
mode: 0644
|
||||
mode: "0644"
|
||||
|
||||
- name: "Backup | Copy automysqlbackup postbackup script"
|
||||
ansible.builtin.copy:
|
||||
src: automysqlbackup_post_script
|
||||
dest: "{{ automysqlbackup_postbackup }}"
|
||||
mode: 0755
|
||||
mode: "0755"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: Configuration | Copy configuration file
|
||||
ansible.builtin.template:
|
||||
src: mariadb.conf
|
||||
src: mariadb.conf.j2
|
||||
dest: "/etc/mysql/mariadb.conf.d/90-{{ ansible_hostname }}.cnf"
|
||||
mode: "0644"
|
||||
notify: restart mariadb
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: "Cron | Create cromn job for database optimization"
|
||||
- name: "Cron | Create cron job for database optimization"
|
||||
ansible.builtin.cron:
|
||||
name: 'Ansible: Database optimization'
|
||||
job: 'chronic mysqlcheck --all-databases --optimize'
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- name: "Monit | Copy Monit configuration"
|
||||
ansible.builtin.template:
|
||||
src: monit.conf
|
||||
src: monit.conf.j2
|
||||
dest: /etc/monit/conf-enabled/mariadb
|
||||
mode: "0600"
|
||||
notify: reload monit
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
- name: "Munin | Copy Munin configuration"
|
||||
ansible.builtin.template:
|
||||
src: templates/munin-mariadb.conf
|
||||
src: templates/munin-mariadb.conf.j2
|
||||
dest: "{{ munin_sql_config_file }}"
|
||||
mode: "0660"
|
||||
notify: restart munin-node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue