Commit graph

69 commits

Author SHA1 Message Date
nerzhul
67d5548e6d Permit to remove user, not only create them 2016-05-12 14:45:36 +02:00
curantes
290d9f05a6 remove requirement of redhat-lsb-core
I would suggest to use {{ ansible_distribution_major_version }} instead of the {{ ansible_lsb.major_version }} since that will require the package redhat-lsb-core installed which is not always installed. You will get the same result if you use the other way without the requirement of redhat-lsb-core package.
2016-05-04 10:22:23 +02:00
Jeff Geerling
3acd799991 Install redhat-lsb-core prior to test. 2016-04-29 15:42:47 -04:00
Jeff Geerling
91c3b9c3eb Ensure redhat-lsb-core is installed. 2016-04-29 15:36:39 -04:00
Jeff Geerling
71d6a0b328 Fix test build for CentOS 7. 2016-04-29 14:41:29 -04:00
Jeff Geerling
72d6da3922 Another attempt to get tests passing for RHEL. 2016-04-29 13:54:15 -04:00
Jeff Geerling
a7cdfefb55 Fix problems with new CentOS 7 MariaDB fixes. 2016-04-29 13:44:59 -04:00
Jeff Geerling
b8ee93bdd1 Merge branch 'master' of git://github.com/dsglaser/ansible-role-mysql into dglaser-master 2016-04-29 13:39:26 -04:00
Jeff Geerling
63064eab7f Remove second idempotence test, fix follow-up to #115. 2016-04-28 17:00:24 -04:00
Jon Pugh
08f2b86a9a Fix "when" statement for mysql error log file permissions. 2016-04-28 12:33:21 -04:00
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
David Glaser
1e75c2f3e3 Verify that datadir has been created and selinux context set. Currently
selinux context set separately because I'm not sure that Ubuntu has it
installed in all cases.
2016-04-06 10:45:04 -04:00
David Glaser
01abbcaca3 Adapted for RHEL 7:
Separated RedHat.yml files into RedHat 6 and RedHat 7 files

Adapted main.yml to point to the correct file
2016-04-06 09:34:28 -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