mirror of
https://github.com/aljazceru/ansible-role-mysql.git
synced 2026-01-06 11:14:22 +01:00
remove requirement of redhat-lsb-core
I would suggest to use {{ ansible_distribution_major_version }} instead of the {{ ansible_lsb.major_version }} since that will require the package redhat-lsb-core installed which is not always installed. You will get the same result if you use the other way without the requirement of redhat-lsb-core package.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
when: ansible_os_family != "RedHat"
|
||||
|
||||
- name: Include OS-specific variables (RedHat).
|
||||
include_vars: "{{ ansible_os_family }}-{{ ansible_lsb.major_release }}.yml"
|
||||
include_vars: "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
- name: Define mysql_packages.
|
||||
|
||||
Reference in New Issue
Block a user