Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit b6a9c11

Browse files
authored
Merge pull request #21 from rndmh3ro/add_follow
add follow=yes to my.cnf protect task, incase its a symlink. fixes #20
2 parents 1510f92 + 74a3b03 commit b6a9c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/configure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22

33
- name: protect my.cnf
4-
file: path='{{mysql_hardening_mysql_conf}}' mode=0600 owner=root group=root
4+
file: path='{{mysql_hardening_mysql_conf}}' mode=0600 owner=root group=root follow=yes
55

66
- name: ensure permissions on mysql-datadir are correct
77
file: path='{{mysql_datadir}}' state=directory owner='{{mysql_hardening_user}}' group='{{mysql_hardening_user}}'

0 commit comments

Comments
 (0)