Use package task over apt for base-server
Package is the generic way of using package managers in Ansible. This will be a noop. Don't use loops for package managers, since we are able to pass lists of packages. This will reduce the number of tasks ansible will do. Change-Id: If7988ba81a6bf851d1b5ec9db6888ba9509ed788 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
24c67ecb0e
commit
a28875c4cc
@ -1,10 +1,9 @@
|
||||
- name: Remove packages that make no sense for servers
|
||||
apt:
|
||||
name: '{{ item }}'
|
||||
package:
|
||||
name:
|
||||
- whoopsie
|
||||
- popularity-contest
|
||||
state: absent
|
||||
loop:
|
||||
- whoopsie
|
||||
- popularity-contest
|
||||
|
||||
- name: Configure file limits
|
||||
copy:
|
||||
|
Loading…
Reference in New Issue
Block a user