install-packages: print changed packages, rename EL package list

This commit is contained in:
Josh Lay 2020-04-18 23:37:22 -05:00
parent f07a44a73c
commit 94087f90d0
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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) }}"