This commit is contained in:
Maxim Slipenko 2023-10-15 09:26:22 +00:00 committed by GitHub
parent 6be9cd0d48
commit bfe28b5753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -13,11 +13,14 @@
- 'vars' - 'vars'
- include_tasks: setup-RedHat.yml - include_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat' and ansible_distribution != 'AltLinux' when: ansible_os_family == 'RedHat'
- include_tasks: setup-Debian.yml - include_tasks: setup-Debian.yml
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- include_tasks: setup-Altlinux.yml
when: ansible_os_family == 'Altlinux'
- name: Install Docker packages. - name: Install Docker packages.
package: package:
name: "{{ docker_packages }}" name: "{{ docker_packages }}"

4
tasks/setup-Altlinux.yml Normal file
View File

@ -0,0 +1,4 @@
---
- name: "Install needed packages"
package:
name: "python3-module-pkg_resources"