mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2025-10-09 05:57:15 +03:00
Merge pull request #320 from adamus1red/adamus1red/os-vars
Add OS specific variable overrides.
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
---
|
||||
- name: Load OS-specific vars.
|
||||
include_vars: "{{ lookup('first_found', params) }}"
|
||||
vars:
|
||||
params:
|
||||
files:
|
||||
- '{{ansible_distribution}}.yml'
|
||||
- '{{ansible_os_family}}.yml'
|
||||
- default.yml
|
||||
paths:
|
||||
- 'vars'
|
||||
|
||||
- include_tasks: setup-RedHat.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
|
Reference in New Issue
Block a user