epel-release must be installed before packages provided by epel-release can be installed.
This commit is contained in:
parent
45a281e706
commit
8c00651441
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue