Initial AlmaLinux support (#7538)

* AlmaLinux: ansible>2.9.19 is needed to know about AlmaLinux

* AlmaLinux: identify as a centos derrivative

* AlmaLinux: add AlmaLinux to checks for CentOS

* Use ansible_os_family to compare family and not distribution
This commit is contained in:
Cristian Calin
2021-04-23 09:50:03 +03:00
committed by GitHub
parent b32d25942d
commit 73db44b00c
15 changed files with 29 additions and 24 deletions

View File

@@ -4,7 +4,7 @@
path: "{{ yum_repo_dir }}/docker.repo"
state: absent
when:
- ansible_distribution in ["CentOS","RedHat","OracleLinux"]
- ansible_os_family == 'RedHat'
- not is_ostree
- name: Ensure old versions of Docker are not installed. | Debian