--- - name: install packages (EPEL/Fedora) package: name: "{{ item }}" state: present with_items: "{{ (COMMON_PKGS + EL_PKGS) | difference(ansible_facts.packages) }}"