Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit d086863

Browse files
authored
Merge pull request #27 from chrispoupart/master
Add CentOS7 with MariaDB support
2 parents d73fa4f + 3fcae0e commit d086863

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.kitchen.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ platforms:
3131
driver_config:
3232
box: opscode-centos-6.5
3333
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box
34+
- name: centos-7.2
35+
driver_config:
36+
box: opscode-centos-7.2
37+
box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.2_chef-provisionerless.box
3438
- name: oracle-6.4
3539
driver_config:
3640
box: oracle-6.4

tasks/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
---
22

33
- name: add the OS specific variables
4-
include_vars: "{{ ansible_os_family }}.yml"
4+
include_vars: "{{ item }}"
5+
with_first_found:
6+
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
7+
- "{{ ansible_distribution }}.yml"
8+
- "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
9+
- "{{ ansible_os_family }}.yml"
510
tags: always
611

712
- include: configure.yml

vars/RedHat-7.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mysql_daemon: mariadb
2+
mysql_hardening_mysql_conf_file: '/etc/my.cnf'
3+
mysql_hardening_mysql_confd_dir: '/etc/my.cnf.d'

0 commit comments

Comments
 (0)