52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
#!/usr/bin/ansible-playbook
|
|
# vim:ft=ansible:
|
|
- name: configure packages via apt
|
|
block:
|
|
- name: update apt packages
|
|
ansible.builtin.apt: upgrade=yes update_cache=yes cache_valid_time=86400
|
|
- name: install basic packages
|
|
ansible.builtin.apt:
|
|
name:
|
|
- acl
|
|
- apt-file
|
|
- aptitude
|
|
- at
|
|
- awscli
|
|
- htop
|
|
- jq
|
|
- ncdu
|
|
- net-tools
|
|
- nfs-common
|
|
- openssh-server
|
|
- pwgen
|
|
- python-is-python3 # God damn you Nextcloud role
|
|
- python2 # Needed for some legacy crap
|
|
- python3-apt
|
|
- python3-boto
|
|
- python3-boto3
|
|
- python3-botocore
|
|
- python3-docker
|
|
- python3-netaddr
|
|
- python3-pip
|
|
- python3-setuptools
|
|
- qemu-guest-agent
|
|
- screen
|
|
- stow
|
|
- stress
|
|
- tmux
|
|
- vim
|
|
- whois
|
|
- name: autoremove
|
|
ansible.builtin.apt: autoremove=yes purge=yes
|
|
- name: autoclean
|
|
ansible.builtin.apt: autoclean=yes
|
|
when: ansible_os_family == "Debian"
|
|
- name: configure rpm-ostree packages
|
|
community.general.rpm_ostree_pkg:
|
|
name:
|
|
- htop
|
|
- ibm-plex-fonts-all
|
|
- ncdu
|
|
- vim
|
|
when: ansible_os_family == "RedHat" and ansible_pkg_mgr == "atomic_container"
|