diff --git a/roles/install-packages/tasks/el.yml b/roles/install-packages/tasks/el.yml index 838ed7f..82128b4 100644 --- a/roles/install-packages/tasks/el.yml +++ b/roles/install-packages/tasks/el.yml @@ -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) }}"