ansible/roles/common/tasks/packages.yml

36 lines
896 B
YAML
Raw Normal View History

2020-10-17 00:21:57 -05:00
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
- name: configure packages via apt
block:
- name: update apt packages
apt: upgrade=yes update_cache=yes cache_valid_time=86400
- name: install basic packages
apt:
name:
- acl
- apt-file
- aptitude
- awscli
- htop
- ncdu
- net-tools
- openssh-server
- pwgen
2020-11-01 04:55:05 -06:00
- python-is-python3 # God damn you Nextcloud role
2020-10-17 00:21:57 -05:00
- python3-apt
- python3-boto
- python3-boto3
- python3-botocore
- python3-docker
- python3-pip
- python3-setuptools
2020-10-17 00:21:57 -05:00
- screen
2021-01-23 20:40:21 -06:00
- stow
2021-02-28 04:19:08 -06:00
- stress
2021-02-03 01:25:42 -06:00
- tmux
2020-10-17 00:21:57 -05:00
- vim
- whois
- name: remove basic packages
apt: state=absent name=unattended-upgrades
when: ansible_os_family == "Debian"