mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-24 16:44:41 +03:00
add AltLinux support
This commit is contained in:
parent
5f8e10462c
commit
63ec452342
@ -4,6 +4,7 @@
|
||||
vars:
|
||||
params:
|
||||
files:
|
||||
- '{{ansible_distribution}}-{{ansible_lsb.major_release}}.yml'
|
||||
- '{{ansible_distribution}}.yml'
|
||||
- '{{ansible_os_family}}.yml'
|
||||
- main.yml
|
||||
@ -11,7 +12,10 @@
|
||||
- 'vars'
|
||||
|
||||
- include_tasks: setup-RedHat.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
when: ansible_os_family == 'RedHat' and ansible_distribution != 'AltLinux'
|
||||
|
||||
- include_tasks: setup-AltLinux.yml
|
||||
when:
|
||||
|
||||
- include_tasks: setup-Debian.yml
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
3
vars/AltLinux-8.yml
Normal file
3
vars/AltLinux-8.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
docker_packages: "docker-ce"
|
||||
docker_compose_package: "docker-compose"
|
3
vars/AltLinux-9.yml
Normal file
3
vars/AltLinux-9.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
docker_packages: "docker-ce"
|
||||
docker_compose_package: "docker-compose"
|
3
vars/AltLinux.yml
Normal file
3
vars/AltLinux.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
docker_packages: "docker-engine"
|
||||
docker_compose_package: "docker-compose-v2"
|
Loading…
Reference in New Issue
Block a user