From 74a3b03fd984278f2f819b1070e5906824f3a401 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Sat, 8 Oct 2016 12:07:34 +0200 Subject: [PATCH] add follow=yes to my.cnf protect task, incase its a symlink --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index 6c3ec94..699fbee 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -1,7 +1,7 @@ --- - name: protect my.cnf - file: path='{{mysql_hardening_mysql_conf}}' mode=0600 owner=root group=root + file: path='{{mysql_hardening_mysql_conf}}' mode=0600 owner=root group=root follow=yes - name: ensure permissions on mysql-datadir are correct file: path='{{mysql_datadir}}' state=directory owner='{{mysql_hardening_user}}' group='{{mysql_hardening_user}}'