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 - fio
- rsync - rsync
- lsof - lsof
EL_PKGS:
EPEL_PKGS:
- iperf3 - iperf3
- nmap - nmap
- lvm2 - lvm2
- bind-utils - bind-utils
- psmisc # may work on deb/ubuntu also? - provides killall - psmisc # may work on deb/ubuntu also? - provides killall
- wget - wget
- cockpit
DEB_PKGS: DEB_PKGS:
- "{{ common_pkgs }}" - "{{ common_pkgs }}"
- dnsutils - dnsutils

View file

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