Commit Graph

72 Commits

Author SHA1 Message Date
Solomon Gifford
f1b26dc20f Merge remote-tracking branch 'origin' into optional-mycnf-force 2015-04-10 20:58:59 -04:00
solomongifford
9943285281 Merge pull request #1 from geerlingguy/master
Resync
2015-04-10 20:47:39 -04:00
Jeff Geerling
a25d9aca08 Merge pull request #30 from BlackMesh/rename-python-my-cnf
Renamed python-my.cnf.j2 to user-my.cnf.j2 - has nothing to do with python.
1.4.5
2015-04-10 16:01:37 -05:00
Jeff Geerling
0885558bb8 Syntax adjustment for #29. 2015-04-10 15:51:22 -05:00
Jeff Geerling
7a6dd735ec Merge pull request #29 from BlackMesh/remove-anonymous-users
Fixes #26: Remove all anonymous users (not just the 'localhost' anonymous user).
2015-04-10 15:50:41 -05:00
Jeff Geerling
e8575a76c3 Syntax adjustment for #28. 2015-04-10 15:43:06 -05:00
Jeff Geerling
364cb3ef34 Merge pull request #28 from BlackMesh/local-action-password
#28 Make root password configuration more flexible, able to work with local_action
2015-04-10 15:41:15 -05:00
Solomon Gifford
fc0d2006cf Renamed python-my.cnf.j2 to user-my.cnf.j2 - has nothing to do with python 2015-04-10 09:36:01 -04:00
Solomon Gifford
75cf220549 Fixes #26 to remove all anonymous users, particularly the one with the host as the hostname 2015-04-10 09:29:52 -04:00
Solomon Gifford
0fbf3fa4d8 Support for setting root password when running as local_action 2015-04-10 09:26:24 -04:00
Solomon Gifford
f9d367cb80 optional-mycnf-force 2015-04-10 09:20:00 -04:00
Jeff Geerling
3d0762b7dd Fixes #22: Make MySQL root user password settings more reliable. 1.4.4 2015-04-09 11:18:58 -05:00
Jeff Geerling
4b686f53af Don't set replication role to 'master' by default, saves binlogs. 1.4.3 2015-03-10 08:46:21 -05:00
Jeff Geerling
53e27f8fd5 Fixes #20: Allow configuration of expire-logs-days. 2015-02-28 22:00:26 -06:00
Jeff Geerling
361126b8b0 Issue #9: Allow mysql_packages to be overridden. 1.4.2 2015-01-13 09:23:33 -06:00
Jeff Geerling
5ff8709f6b Issue #14: InnoDB log size is 5MB even though 64MB is specified (Ubuntu). 2015-01-13 09:18:27 -06:00
Jeff Geerling
9899916b4a Use correct MySQL socket file for Ubuntu. 1.4.1 2015-01-08 18:12:30 -06:00
Jeff Geerling
8299775d52 Make sure socket connections work correctly on Ubuntu. 2015-01-08 18:04:16 -06:00
Jeff Geerling
710c52c671 Test connecting through TCP. 2015-01-08 17:30:00 -06:00
Jeff Geerling
6dd24c2d24 Add new mysql_config_file variable so Ubuntu my.cnf file paths are correct. 1.4.0 2015-01-08 17:20:30 -06:00
Jeff Geerling
2c5843f164 Only add replication config if replication is setup. 1.3.4 2015-01-07 10:41:58 -06:00
Jeff Geerling
420894477e Remove mysql_state variable, since it doesn't work as expected. 1.3.3 2015-01-07 10:28:09 -06:00
Jeff Geerling
64e4ed6e08 Add mysql_state and mysql_enabled_on_startup options. 1.3.2 2015-01-07 10:16:36 -06:00
Jeff Geerling
db5f7797e9 Merge pull request #8 from darthwade/feature-bind-address
Add mysql_bind_address to configuration.
1.3.1
2014-11-16 15:29:41 -06:00
Vadym Petrychenko
0b72ec9fbb add mysql_bind_address to configuration 2014-11-15 19:23:19 +01:00
Jeff Geerling
08e75e249b Add replication options to README. 1.3.0 2014-11-08 21:48:34 -06:00
Jeff Geerling
6967874c08 Issue #6: Add replication configuration. 2014-11-08 21:43:31 -06:00
Jeff Geerling
181aef9806 Stylistic cleanup and reorganization. 1.2.2 2014-11-08 15:10:49 -06:00
Jeff Geerling
a85ecf03be Update test. 2014-11-08 14:36:01 -06:00
Jeff Geerling
484c627745 Update default mysql_max_allowed_packet variable. 2014-10-14 22:59:05 -04:00
Jeff Geerling
f52d3d44ba Split setup tasks into distro-specific files and update apt_cache for first run. 1.2.1 2014-08-26 08:23:48 -05:00
Jeff Geerling
d098cd9c39 Merge branch 'master' of github.com:geerlingguy/ansible-role-mysql 1.2.0 2014-08-07 12:12:43 -05:00
Jeff Geerling
04d1000d39 Merge pull request #4 from seschwar/master
Add more configurability to the role - root username, error logging, dbs and users, ports.
2014-08-07 12:11:29 -05:00
Sebastian Schwarz
ff924e6f19 Also adjust port and socket of the MySQL client 2014-08-07 14:26:05 +02:00
Sebastian Schwarz
c836899536 Make error logging configurable 2014-08-07 14:26:05 +02:00
Sebastian Schwarz
64e337194c Make MySQL root username configurable
While this doesn't seem to make sense on first glance it is useful for
systems which were screwed with Parallels Plesk, which renames the MySQL
root user to "admin".

This change allowes this role to be used while the server is
transitioning from Plesk to Ansible.
2014-08-07 14:26:05 +02:00
Sebastian Schwarz
3a15b07608 Allow creation of databases and users
Inspired by the Ansibles.mysql role.
2014-08-07 14:26:05 +02:00
Sebastian Schwarz
cbf36a7920 Mention Debian and Ubuntu as supported platforms 2014-08-06 11:46:54 +02:00
Jeff Geerling
d733583be5 Install current version of Ansible when testing instead of 1.5.0. 2014-08-03 21:47:53 -05:00
Jeff Geerling
40db7013c8 Merge pull request #3 from simonvlc/patch-1
Remove 'simulate' flag when uninstalling mysql.
2014-07-11 09:10:14 -05:00
simonvlc
e9b78d3f1e Removing 'simulate' flag
Hi there,

I don't know if it's intended, but the '-s' flag just simulates the purge of the packages. I was having some problems with this trying to install percona.

Kind regards, Simon.
2014-07-11 15:31:12 +02:00
Jeff Geerling
71cf6337bc Add extra variables wait_timeout and max_allowed_packet. 1.1.3 2014-07-03 08:25:12 -05:00
Jeff Geerling
e9f332d42a Don't worry about the MySQL slow log when debugging Travis. 1.1.2 2014-05-23 14:07:12 -05:00
Jeff Geerling
af3a1d154c Another attempt at getting good debug output from Travis. 2014-05-23 14:00:05 -05:00
Jeff Geerling
d15399ead9 Final attempt - tests should finally pass. 2014-05-23 13:54:23 -05:00
Jeff Geerling
8d2711b6d6 Update playbook with default file size for MySQL InnoDB log. 2014-05-23 13:48:57 -05:00
Jeff Geerling
02cc7cb518 More MySQL debugging on Travis - getting closer. 2014-05-23 13:42:51 -05:00
Jeff Geerling
e1cdf2a34e More MySQL debugging on Travis. 2014-05-23 13:37:40 -05:00
Jeff Geerling
2c31c5b3da Another attempt to debug Travis and MySQL. 2014-05-23 13:29:33 -05:00
Jeff Geerling
26d7035304 Another attempt at debugging MySQL/Travis. 2014-05-23 13:22:31 -05:00