- name: Install config file
  template:
    src: etc/my.cnf.d/mysqld.cnf.j2
    dest: /etc/my.cnf.d/mysqld.cnf
  notify: restart mariadb
  tags: mariadb

- name: Install config file
  template:
    src: etc/my.cnf.d/mysqld.cnf.j2
    dest: /etc/my.cnf.d/mysqld.cnf
  notify: restart mariadb
  tags: mariadb

- name: Install logrotate config for mariadb
  copy:
    src: etc/logrotate.d/mariadb
    dest: /etc/logrotate.d/mariadb
    force: true
  tags: mariadb

Copy logrotate config to appropriate dir
Copy logrotate config to appropriate dir
