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: # installation packages:
- name: need epel-release
yum:
lock_timeout: 30
name: [epel-release]
- name: install packages - name: install packages
yum: yum:
lock_timeout: 30 lock_timeout: 30
name: '{{lookup("flattened", items)}}' name: '{{lookup("flattened", items)}}'
vars: vars:
items: items:
- epel-release
- '{{ [] if is_virt_guest else ["chrony", "smartmontools"] }}' - '{{ [] if is_virt_guest else ["chrony", "smartmontools"] }}'
#- yum-cron #- yum-cron
- glibc-langpack-de - glibc-langpack-de