Commit graph

156 commits

Author SHA1 Message Date
Jeff Geerling
6bdfd8bb8c Merge pull request #124 from nerzhul/drop_user
Permit to remove user, not only create them
2016-05-12 07:50:15 -05:00
nerzhul
67d5548e6d Permit to remove user, not only create them 2016-05-12 14:45:36 +02:00
Jeff Geerling
d6706d703c Merge pull request #114 from nerzhul/skip_name_resolve
Add mysql_skip_name_resolve parameter
2016-05-11 08:07:55 -05:00
nerzhul
5e7edb8580 Add mysql_skip_name_resolve parameter
This prevent MySQL DNS name resolution.

Default: no
2016-05-11 12:42:10 +02:00
Jeff Geerling
48ef3413b3 PR #119 follow-up: Remove redhat-lsb-core install from test containers. 2016-05-04 11:09:42 -05:00
Jeff Geerling
27336a8116 Merge pull request #119 from curantes/patch-1
remove requirement of redhat-lsb-core
2016-05-04 11:08:53 -05: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
f94f3a6bed Merge pull request #116 from geerlingguy/dglaser-master
Support MariaDB in RHEL 7 out of the box
2016-04-29 16:01:12 -04: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
Jeff Geerling
cad1192ff1 Merge pull request #115 from jonpugh/patch-1
Fix "when" statement for mysql error log file permissions.
2016-04-28 16:59:21 -04:00
Jon Pugh
c87ce1f672 Adding a "test role again" 2016-04-28 13:38:58 -04:00
Jon Pugh
08f2b86a9a Fix "when" statement for mysql error log file permissions. 2016-04-28 12:33:21 -04:00
Jeff Geerling
7a0a48278f Merge pull request #108 from geerlingguy/63-ubuntu-xenial
Fixes #63: Running role on Ubuntu 15/16.04 fails.
2016-04-22 13:48:06 -05:00
Jeff Geerling
ab21fa133f Fixes #63: Running role on Ubuntu 15/16.04 fails. 2016-04-22 13:38:19 -05:00
Jeff Geerling
9b3c7c8a0a Merge pull request #103 from BlackMesh/no_change_slow_query_log
ansible doesn't have a create-if-not-exists
2016-04-15 14:59:33 -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
64a7b7357a Updated README for RHEL 7 2016-04-06 09:38:18 -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
Jeff Geerling
270530398e Merge pull request #96 from drzraf/patch-1
add no_log to operation on confidential data
2016-04-02 22:54:19 -05: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
Jeff Geerling
dab3e1e62c Fixes #90, #89, #68, #34: Add note for root password issues and document sudo requirement. 2016-03-26 21:49:16 -05:00
Jeff Geerling
94b0b17921 Update README. 2016-03-08 22:25:35 -06:00
Jeff Geerling
acd14ea309 Ansible Galaxy 2.0 updates. 2016-03-05 21:42:01 -06:00
Jeff Geerling
a4eacfa193 Merge pull request #84 from oxyc/docker
Issue #77: Add docker based tests
2016-03-01 12:34:46 -06:00
Oskar Schöldström
6e9b80c193 Add a custom initctl script to fix Ubuntu 14.04. Disable 12.04 2016-02-29 22:50:59 -05:00
Oskar Schöldström
7038d6ed61 fix connection tests failing on centos6 as performance_schema db does not exist 2016-02-29 22:50:59 -05:00
Oskar Schöldström
88409e2079 add separate test playbook for centos7 2016-02-29 22:50:59 -05:00
Oskar Schöldström
d190734e84 Add initial docker setup 2016-02-29 22:50:59 -05:00
Jeff Geerling
693ad377ff Ansible version bump. 2016-02-28 23:37:28 -06: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
9495e1d9f9 Fixes #52: Remove deprecated log_slow_queries variable from template. 2015-12-17 14:31:40 -06:00
Jeff Geerling
38b4a90117 Merge pull request #78 from caspark/master
Set pidfile even when not running via mysqld_safe
2015-12-17 10:47:23 -06:00
Caspar Krieger
984473e138 Set pidfile even when not running via mysqld_safe
For example, Ubuntu 14.04 /etc/init.d/mysql does not use mysqld_safe
and parses the pidfile out of `mysqld --print-defaults` instead.
2015-12-17 23:32:58 +11:00
Jeff Geerling
0c224d8e9d PR #76 follow-up: Clean up defaults examples. 2015-12-16 16:04:55 -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
0c1026d2d7 PR #65: Document addition of append_privs option for mysql_users. 2015-12-16 14:11:04 -06: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
0556899ab4 Support mariadb and other mysql implementations that have a mysql include directory for my.cnf overrides 2015-12-16 13:51:43 -05: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
9de3121b26 Allow configuration of variables not currently supported 2015-12-15 16:13:49 -05:00