summaryrefslogtreecommitdiffstats
path: root/roles/mariadb/tasks
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2015-03-23 19:22:50 +0100
committerMichael Scherer <misc@zarb.org>2015-03-23 19:22:50 +0100
commitcd72e0933d16b0fd174c21ce973b04b74143ef1f (patch)
tree6a3ca3959abc8bbc5d867c1435397530cf032d3b /roles/mariadb/tasks
parent22a1d115bc67a2b85a0fad4259890eb385eef077 (diff)
Deploy the root password file
Diffstat (limited to 'roles/mariadb/tasks')
-rw-r--r--roles/mariadb/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/mariadb/tasks/main.yml b/roles/mariadb/tasks/main.yml
index 2327e80..b6a4fe6 100644
--- a/roles/mariadb/tasks/main.yml
+++ b/roles/mariadb/tasks/main.yml
@@ -7,6 +7,8 @@
- 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