1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_base.git synced 2024-08-16 14:29:50 +02:00

limit to and ansible_distribution_version >= 8

This commit is contained in:
L3D 2020-11-11 11:00:11 +01:00 committed by GitHub
parent 3cabf468f9
commit a6bb39eb32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@
dnf:
update_cache: yes
when:
ansible_os_family == 'RedHat'
ansible_os_family == 'RedHat' and ansible_distribution_version | float >= 8 or
- name: install base packages for all operating systems
become: true