mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
670 B
YAML
19 lines
670 B
YAML
5 years ago
|
# Copyright: (c) 2019, Andrew Klychkov (@Andersson007) <aaklychkov@mail.ru>
|
||
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||
|
|
||
|
# Setup MySQL 8:
|
||
|
- name: Include distribution specific variables
|
||
|
include_vars: "{{ lookup('first_found', params) }}"
|
||
|
vars:
|
||
|
params:
|
||
|
files:
|
||
|
- '{{ ansible_facts.distribution }}-{{ ansible_facts.distribution_major_version }}.yml'
|
||
|
- '{{ ansible_facts.os_family }}.yml'
|
||
|
- 'default.yml'
|
||
|
paths: vars
|
||
|
|
||
|
- import_tasks: setup_mysql8.yml
|
||
|
when:
|
||
|
- ansible_facts.distribution == 'CentOS'
|
||
|
- ansible_facts.distribution_major_version is version_compare('7', '>=')
|