mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2025-10-09 05:57:15 +03:00
Add OS specific variable overrides.
Specifically Alpine official repo uses `docker` rather than `docker-ce` or `docker-ee`
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
---
|
||||
- name: Load OS specific package information
|
||||
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