20 lines
323 B
YAML
20 lines
323 B
YAML
---
|
|
- name: update apt cache
|
|
apt:
|
|
update_cache: yes
|
|
cache_valid_time: 3600
|
|
|
|
- name: Install required packages
|
|
apt:
|
|
name: "{{ item }}"
|
|
state: latest
|
|
with_items:
|
|
- htop
|
|
- attr
|
|
- python3-psutil
|
|
- acl
|
|
- bind9-dnsutils
|
|
- iputils-ping
|
|
- gpg
|
|
when: ansible_os_family == "Debian"
|