install-packages: don't loop packages, install what's missing in one shot
This commit is contained in:
parent
7530feaff1
commit
36cc90c9e7
1 changed files with 1 additions and 2 deletions
|
@ -2,6 +2,5 @@
|
|||
|
||||
- name: install packages (EPEL/Fedora)
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
name: "{{ (COMMON_PKGS + EL_PKGS) | difference(ansible_facts.packages) }}"
|
||||
state: present
|
||||
with_items: "{{ (COMMON_PKGS + EL_PKGS) | difference(ansible_facts.packages) }}"
|
||||
|
|
Loading…
Reference in a new issue