Skip to content

Commit 210caa2

Browse files
committed
Remove mention of CentOS 7 in readme.
1 parent 9a86bf4 commit 210caa2

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

README.md

-23
Original file line numberDiff line numberDiff line change
@@ -180,29 +180,6 @@ mysql_hide_passwords: false
180180

181181
Do you need to hide tasks' output which contain passwords during the execution ?
182182

183-
### Later versions of MySQL on CentOS 7
184-
185-
If you want to install MySQL from the official repository instead of installing the system default MariaDB equivalents, you can add the following `pre_tasks` task in your playbook:
186-
187-
```yaml
188-
pre_tasks:
189-
- name: Install the MySQL repo.
190-
yum:
191-
name: http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
192-
state: present
193-
when: ansible_os_family == "RedHat"
194-
195-
- name: Override variables for MySQL (RedHat).
196-
set_fact:
197-
mysql_daemon: mysqld
198-
mysql_packages: ['mysql-server']
199-
mysql_log_error: /var/log/mysqld.err
200-
mysql_syslog_tag: mysqld
201-
mysql_pid_file: /var/run/mysqld/mysqld.pid
202-
mysql_socket: /var/lib/mysql/mysql.sock
203-
when: ansible_os_family == "RedHat"
204-
```
205-
206183
### MariaDB usage
207184

208185
This role works with either MySQL or a compatible version of MariaDB. On RHEL/CentOS 7+, the mariadb database engine was substituted as the default MySQL replacement package. No modifications are necessary though all of the variables still reference 'mysql' instead of mariadb.

meta/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ galaxy_info:
77
description: MySQL server for RHEL/CentOS and Debian/Ubuntu.
88
company: "Midwestern Mac, LLC"
99
license: "license (BSD, MIT)"
10-
min_ansible_version: 2.10
10+
min_ansible_version: 2.12
1111
platforms:
1212
- name: Ubuntu
1313
versions:

0 commit comments

Comments
 (0)