32 lines
663 B
YAML
32 lines
663 B
YAML
|
#!/usr/bin/ansible-playbook
|
||
|
# vim:ft=ansible:
|
||
|
---
|
||
|
- name: Install packages
|
||
|
block:
|
||
|
- name: Update and upgrade apt packages
|
||
|
apt:
|
||
|
upgrade: "yes"
|
||
|
update_cache: yes
|
||
|
# One day
|
||
|
cache_valid_time: 86400
|
||
|
- name: Install basic packages
|
||
|
apt:
|
||
|
name:
|
||
|
- acl
|
||
|
- aptitude
|
||
|
- awscli
|
||
|
- htop
|
||
|
- ncdu
|
||
|
- net-tools
|
||
|
- openssh-server
|
||
|
- pwgen
|
||
|
- python3-apt
|
||
|
- vim
|
||
|
- whois
|
||
|
- name: Install basic packages without recommends
|
||
|
apt:
|
||
|
install_recommends: no
|
||
|
name:
|
||
|
- smartmontools
|
||
|
become: yes
|