mirror of
https://github.com/aljazceru/ansible-role-mysql.git
synced 2025-12-19 04:04:21 +01:00
Fix test build for CentOS 7.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
# Include version-specific variables for RedHat.
|
||||
- name: Include OS-specific variables (RedHat).
|
||||
include_vars: "{{ ansible_os_family }}-{{ ansible_distribution_version|slice(1) }}.yml"
|
||||
include_vars: "{{ ansible_os_family }}-{{ ansible_lsb.major_release }}.yml"
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
- name: Define mysql_packages.
|
||||
|
||||
@@ -12,6 +12,8 @@ rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
|
||||
rm -f /lib/systemd/system/basic.target.wants/*; \
|
||||
rm -f /lib/systemd/system/anaconda.target.wants/*;
|
||||
|
||||
RUN yum -y install redhat-lsb-core
|
||||
|
||||
# Install Ansible
|
||||
RUN yum -y install epel-release
|
||||
RUN yum -y install git ansible sudo
|
||||
|
||||
Reference in New Issue
Block a user