epel-release must be installed before packages provided by epel-release can be installed.

This commit is contained in:
Denis Knauf 2021-11-09 21:56:09 +01:00
parent 45a281e706
commit 8c00651441

View file

@ -3,13 +3,17 @@
# installation packages:
- name: need epel-release
yum:
lock_timeout: 30
name: [epel-release]
- name: install packages
yum:
lock_timeout: 30
name: '{{lookup("flattened", items)}}'
vars:
items:
- epel-release
- '{{ [] if is_virt_guest else ["chrony", "smartmontools"] }}'
#- yum-cron
- glibc-langpack-de