Skip to content

Commit

Permalink
Readme correction
Browse files Browse the repository at this point in the history
  • Loading branch information
pjan committed Mar 12, 2014
1 parent ade5eea commit b4dbeb0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@ Features include:
- Standard hardening (root password, removal of test databases)
- Add databases
- Add users
- Setup of monit process supervision


#### Requirements & Dependencies
- Tested on Ansible 1.4 or higher.
- Ansibles.monit if you want monit protection (in that case you should set `monit_protection: true`)
- Ansibles.monit if you want monit protection (in that case, you should set `monit_protection: true`)


#### Variables

```yaml
# Basic settings
mysql_port: 3306 # The port on which mysql listens
mysql_bind_address: "0.0.0.0" #
mysql_root_password: 'pass' #
mysql_bind_address: "0.0.0.0" # The address the mysql server binds on
mysql_root_password: 'pass' # The root password

# Fine Tuning
mysql_key_buffer: '16M'
Expand Down
4 changes: 2 additions & 2 deletions templates/etc_mysql_my.cnf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ collation_server = {{ mysql_collation_server }}
[mysqldump]
quick
quote-names
max_allowed_packet = {{ mysql_max_allowed_packet }}
max_allowed_packet = {{ mysql_mysqldump_max_allowed_packet }}

[mysql]
#no-auto-rehash # faster start of mysql but no tab completition

[isamchk]
key_buffer = {{ mysql_key_buffer }}
key_buffer = {{ mysql_isamchk_key_buffer }}

#
# * IMPORTANT: Additional settings that can override those from this file!
Expand Down

0 comments on commit b4dbeb0

Please sign in to comment.