add AltLinux support

This commit is contained in:
Maxim Slipenko 2023-10-15 09:09:18 +00:00 committed by GitHub
parent 5f8e10462c
commit 63ec452342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
---
docker_packages: "docker-ce"
docker_compose_package: "docker-compose"

3
vars/AltLinux-9.yml Normal file
View File

@ -0,0 +1,3 @@
---
docker_packages: "docker-ce"
docker_compose_package: "docker-compose"

3
vars/AltLinux.yml Normal file
View File

@ -0,0 +1,3 @@
---
docker_packages: "docker-engine"
docker_compose_package: "docker-compose-v2"