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
|
2022-06-16 23:45:29 -05:00
|
|
|
ansible.builtin.apt: upgrade=yes update_cache=yes cache_valid_time=86400
|
2020-10-17 00:21:57 -05:00
|
|
|
- name: install basic packages
|
2022-06-16 23:45:29 -05:00
|
|
|
ansible.builtin.apt:
|
2020-10-17 00:21:57 -05:00
|
|
|
name:
|
|
|
|
- acl
|
|
|
|
- apt-file
|
|
|
|
- aptitude
|
2021-11-07 08:36:53 -06:00
|
|
|
- at
|
2020-10-17 00:21:57 -05:00
|
|
|
- awscli
|
|
|
|
- htop
|
2021-03-27 16:47:14 -05:00
|
|
|
- jq
|
2020-10-17 00:21:57 -05:00
|
|
|
- ncdu
|
|
|
|
- net-tools
|
2021-08-07 11:52:03 -05:00
|
|
|
- nfs-common
|
2020-10-17 00:21:57 -05:00
|
|
|
- openssh-server
|
|
|
|
- pwgen
|
2020-11-01 04:55:05 -06:00
|
|
|
- python-is-python3 # God damn you Nextcloud role
|
2021-12-24 14:53:09 -06:00
|
|
|
- python2 # Needed for some legacy crap
|
2020-10-17 00:21:57 -05:00
|
|
|
- python3-apt
|
2020-10-17 01:11:35 -05:00
|
|
|
- python3-boto
|
|
|
|
- python3-boto3
|
|
|
|
- python3-botocore
|
2021-03-25 12:46:53 -05:00
|
|
|
- python3-docker
|
2022-02-13 12:25:38 -06:00
|
|
|
- python3-netaddr
|
2020-10-17 01:11:35 -05:00
|
|
|
- python3-pip
|
|
|
|
- python3-setuptools
|
2021-11-08 11:53:36 -06:00
|
|
|
- qemu-guest-agent
|
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
|
2021-09-01 19:16:05 -05:00
|
|
|
- name: autoremove
|
2022-06-16 23:45:29 -05:00
|
|
|
ansible.builtin.apt: autoremove=yes purge=yes
|
2021-10-05 10:28:12 -05:00
|
|
|
- name: autoclean
|
2022-06-16 23:45:29 -05:00
|
|
|
ansible.builtin.apt: autoclean=yes
|
2020-10-17 00:21:57 -05:00
|
|
|
when: ansible_os_family == "Debian"
|
2022-08-28 11:39:48 -05:00
|
|
|
- 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"
|