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

Conversation

chrispoupart
Copy link

@chrispoupart chrispoupart commented Apr 19, 2017

This PR adds a configuration for RedHat 7-based servers that specifies "mariadb" as the value for mysql_daemon.

There is also Test Kitchen test for CentOS 7.2, which is passes, though I would point out that other tests (for Ubuntu and CentOS 6.x) are failing even before this PR -- at least on my setup.

This addresses issue #23.

@rndmh3ro rndmh3ro self-requested a review April 19, 2017 16:12
@rndmh3ro rndmh3ro self-assigned this Apr 19, 2017
include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_os_family }}.yml"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add ansible_distribution here? Not that its needed right now, but I'd like to have it standardized in the hardening roles.

- name: Set OS dependent variables
  include_vars: "{{ item }}"
  with_first_found:
   - "{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yml"
   - "{{ ansible_distribution }}.yml"
   - "{{ ansible_os_family }}_{{ ansible_distribution_major_version }}.yml"
   - "{{ ansible_os_family }}.yml"

@rndmh3ro
Copy link
Member

Except for this one minor thing I added, this PR is good to merge. Thanks!

@rndmh3ro rndmh3ro merged commit d086863 into dev-sec:master Apr 21, 2017
@rndmh3ro
Copy link
Member

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants