Skip to content

Commit

Permalink
Update mysql config to turn on innodb_file_per_table by default
Browse files Browse the repository at this point in the history
Fixes #160
  • Loading branch information
EvanK committed Aug 30, 2016
1 parent 09d9df5 commit 91b6209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provisioning/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@
lineinfile: dest=/etc/php5/apache2/php.ini backup=yes regexp='date\.timezone' line='date.timezone = "America/Chicago"'
sudo: yes

- name: Update my.conf's bind-address
lineinfile: dest=/etc/mysql/my.cnf backup=yes regexp=^bind-address line='bind-address = 0.0.0.0'
- name: Tweak my.cnf
replace: dest=/etc/mysql/my.cnf backup=yes regexp="^bind-address(.+)(\ninnodb_file_per_table.+)?" replace="bind-address = 0.0.0.0\ninnodb_file_per_table = 1"
sudo: yes

- name: Generate /etc/aliases
Expand Down

0 comments on commit 91b6209

Please sign in to comment.