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

Commit ec90b8d

Browse files
committed
Update README with explaining of conditional enabling/disabling role
1 parent ef77bf7 commit ec90b8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ This role focuses on security configuration of MySQL. Therefore you can add this
2121

2222
This hardening role installs the hardening but expects an existing installation of MySQL, MariaDB or Percona. Please ensure that the following variables are set accordingly:
2323

24+
- `mysql_hardening_enabled: yes` role is enabled by default and can be disabled without removing it from a playbook. You can use conditional variable, for example: `mysql_hardening_enabled: "{{ true if mysql_enabled else false }}"`
2425
- `mysql_hardening_user: 'mysql'` The user that mysql runs as.
2526
- `mysql_datadir: '/var/lib/mysql'` The MySQL data directory
2627
- `mysql_hardening_hardening_conf: '/etc/mysql/conf.d/hardening.cnf'` The path to the configuration file where the hardening will be performed

0 commit comments

Comments
 (0)