install-packages: print changed packages, rename EL package list
This commit is contained in:
parent
f07a44a73c
commit
94087f90d0
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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) }}"
|
||||
|
|
Loading…
Reference in a new issue