mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
limit to and ansible_distribution_version >= 8
This commit is contained in:
parent
3cabf468f9
commit
a6bb39eb32
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
dnf:
|
dnf:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when:
|
when:
|
||||||
ansible_os_family == 'RedHat'
|
ansible_os_family == 'RedHat' and ansible_distribution_version | float >= 8 or
|
||||||
|
|
||||||
- name: install base packages for all operating systems
|
- name: install base packages for all operating systems
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue