Commit Graph

57 Commits

Author SHA1 Message Date
Jeff Geerling
ab21fa133f Fixes #63: Running role on Ubuntu 15/16.04 fails. 2016-04-22 13:38:19 -05:00
Solomon Gifford
571f8e4bf4 ansible doesn't have a create-if-not-exists - but we shouldn't be changing the date each time this is run 2016-04-15 11:06:22 -04:00
Raphaël Droz
8ee93d8d3d add no_log to operation on confidential data
Without no_log, password would appear in node's syslog.
It's probably unwanted when it comes to password
2016-04-03 00:25:27 -03:00
Oskar Schöldström
d190734e84 Add initial docker setup 2016-02-29 22:50:59 -05:00
Jeff Geerling
e393119ed8 Fix Ansible 2.x deprecation warnings. 2016-02-28 23:37:00 -06:00
Jeff Geerling
bb39bf5632 Fixes #59: Ansible 2.x role cleanup. 2016-01-12 09:25:59 -06:00
Jeff Geerling
a3d3bf21d9 Merge pull request #76 from BlackMesh/allow_custom_variables
Allow configuration of variables not currently supported
2015-12-16 16:03:39 -06:00
Solomon Gifford
1b1e11b689 Fixed spacing 2015-12-16 16:12:02 -05:00
Jeff Geerling
00d2287094 Merge pull request #65 from raistlin/raistlin-patch-1
Allow append privileges
2015-12-16 14:09:08 -06:00
Solomon Gifford
2a8b19fe11 Support mariadb and other mysql implementations that have a mysql include directory for my.cnf overrides 2015-12-16 13:50:16 -05:00
Jeff Geerling
b499ee05c4 Merge pull request #75 from BlackMesh/delete_root_external
Disallow root login remotely
2015-12-15 16:37:38 -06:00
Solomon Gifford
140026c7f1 Disallow root login remotely 2015-12-15 15:14:53 -05:00
Solomon Gifford
1960305381 reversed order of mysql-python install 2015-12-10 19:45:24 -05:00
Raul Ferriz
80a2bfd205 Update users.yml 2015-10-23 19:01:58 +02:00
Raul Ferriz
3d5668fb04 Allow append privileges
I need one user to access two different databases, with this change I can handle it.
2015-10-21 13:43:53 +02:00
Jeff Geerling
bb40196834 Small fix for previous MySQL PR merge on Ansible 2. 2015-10-06 23:13:30 -04:00
Stuart Williams
d527fdc3be Issue #61: Fix idempotence issue. 2015-10-04 04:58:48 -04:00
Stuart Williams
5c26e06957 Issue #61: Ensure package change flag can be set by either Debian or RHEL. 2015-10-04 04:21:51 -04:00
Jeff Geerling
9e5e424d6c Fixes #60: Better detection of whether MySQL was installed. 2015-10-01 22:53:05 -05:00
Jeff Geerling
074b9de092 Issue #60: Restore idempotence. 2015-10-01 22:35:39 -05:00
Jeff Geerling
f542bcfe73 Issue #60: Fix task that sets the new root user password. 2015-10-01 22:27:59 -05:00
Jeff Geerling
b022e2699f Revert previous commit for Issue #60 - it didn't help. 2015-09-30 22:49:46 -05:00
Jeff Geerling
e6969ef0f7 Issue #60: 'Get list of hosts for the root user' fails to run. 2015-09-30 22:41:17 -05:00
Jeff Geerling
b3cd4f3629 Fixes #54: Remove Python MySQL from package list. 2015-08-31 10:22:54 -05:00
Jeff Geerling
20b6be71c7 Fixes #58: Provide better OS-specific slow query log file paths. 2015-08-31 10:13:45 -05:00
Jeff Geerling
93b1fb5df9 Fixes #53: Don't manage postfix in MySQL role. 2015-08-27 14:52:32 -05:00
Jason Peak
2171c59954 eliminates extra whitespace in the variable value 2015-08-20 10:54:52 -05:00
Abel Boldú
1b1a131dc6 mysql_daemon fact, README example 2015-06-02 16:25:23 +02:00
Jeff Geerling
2d178fe83a Fixes #17: Allow configuration of mysql slow query log. 2015-04-24 12:20:27 -05:00
Solomon Gifford
f1b26dc20f Merge remote-tracking branch 'origin' into optional-mycnf-force 2015-04-10 20:58:59 -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.
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
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. 2015-04-09 11:18:58 -05:00
Jeff Geerling
361126b8b0 Issue #9: Allow mysql_packages to be overridden. 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. 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
6dd24c2d24 Add new mysql_config_file variable so Ubuntu my.cnf file paths are correct. 2015-01-08 17:20:30 -06:00
Jeff Geerling
420894477e Remove mysql_state variable, since it doesn't work as expected. 2015-01-07 10:28:09 -06:00
Jeff Geerling
64e4ed6e08 Add mysql_state and mysql_enabled_on_startup options. 2015-01-07 10:16:36 -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. 2014-11-08 15:10:49 -06:00
Jeff Geerling
f52d3d44ba Split setup tasks into distro-specific files and update apt_cache for first run. 2014-08-26 08:23:48 -05:00
Sebastian Schwarz
3a15b07608 Allow creation of databases and users
Inspired by the Ansibles.mysql role.
2014-08-07 14:26:05 +02:00