Skip to content
Snippets Groups Projects
Commit 0a820646 authored by Chris Hines's avatar Chris Hines
Browse files

find the correct database server packages on CentOS 7

parent 9255ce21
Branches fixmailchimp
No related tags found
No related merge requests found
......@@ -23,7 +23,15 @@
- MySQL-python
- mysql-server
sudo: true
when: ansible_os_family == "RedHat"
when: ansible_os_family == "RedHat" and ansible_distribution_major_version < 7
- name: Installing MySQL RedHat
yum: name="{{ item }}" state=latest
with_items:
- mariadb-server
sudo: true
when: ansible_os_family == "RedHat" and ansible_distribution_major_version >= 7
- name: "Starting MySQL"
service: name=mysql state=started enabled=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment