diff --git a/roles/install-packages/defaults/main.yml b/roles/install-packages/defaults/main.yml index 572b867..7e79d54 100644 --- a/roles/install-packages/defaults/main.yml +++ b/roles/install-packages/defaults/main.yml @@ -11,15 +11,14 @@ COMMON_PKGS: - fio - rsync - lsof - -EPEL_PKGS: +EL_PKGS: - iperf3 - nmap - lvm2 - bind-utils - psmisc # may work on deb/ubuntu also? - provides killall - wget - + - cockpit DEB_PKGS: - "{{ common_pkgs }}" - dnsutils diff --git a/roles/install-packages/tasks/el.yml b/roles/install-packages/tasks/el.yml index 8eed18a..838ed7f 100644 --- a/roles/install-packages/tasks/el.yml +++ b/roles/install-packages/tasks/el.yml @@ -2,5 +2,6 @@ - name: install packages (EPEL/Fedora) package: - name: "{{ (COMMON_PKGS + EPEL_PKGS) | difference(ansible_facts.packages) }}" + name: "{{ item }}" state: present + with_items: "{{ (COMMON_PKGS + EL_PKGS) | difference(ansible_facts.packages) }}"