From 4e984859529e9d0c8437620522730a174f835b56 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 18 Nov 2017 00:10:35 +0100 Subject: Add mariadb module --- roles/mariadb/tasks/main.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 roles/mariadb/tasks/main.yml (limited to 'roles/mariadb/tasks') diff --git a/roles/mariadb/tasks/main.yml b/roles/mariadb/tasks/main.yml deleted file mode 100644 index b6a4fe6..0000000 --- a/roles/mariadb/tasks/main.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- yum: name={{ item }} state=installed - with_items: - - mariadb-server - - MySQL-python - -- template: src=custom.cnf dest=/etc/my.cnf.d/custom.cnf - notify: restart mariadb - -- template: src=my.cnf dest=/root/.my.cnf mode=600 owner=root group=root - -- service: name=mariadb enabled=yes state=started - -- copy: mode=0755 src=dump_mariadb.sh dest=/usr/local/bin/dump_mariadb.sh - -- cron: minute=15 hour=4 name="backup mariadb" job=/usr/local/bin/dump_mariadb.sh -- cgit