I use ansible to keep all my computers consistent and install the same packages on all the systems. First I install my ssh key. Then I allow the sudo group to run sudo without supplying a password. Then I run the following ansible playbook (of course the ip address OR ‘HOSTS’ is assigned by DHCP):
---
- name: Install a list of packages
hosts: "192.168.1.22"
become: yes
tasks:
- name: Call apt module with package names
apt:
name:
- alacarte
- apt-xapian-index
- at-spi2-core
- blueman
- clipit
- emacs
- filezilla
- flashplugin-installer
- gdebi
- gimp
- gparted
- gdm3
- gnome-multi-writer
- gnome-tweaks
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-ugly
- libgmime-2.6-0
- libgtkspell3-3-0
- lubuntu-core
- manpages-dev
- mysql-workbench
- net-tools
- network-manager-openvpn-gnome
- nfs-common
- nmap
- pavucontrol
- resolvconf
- tightvncserver
- ubuntu-restricted-extras
- xfce4
- xfce4-goodies
- xscreensaver
- xscreensaver-data-extra
state: present
update_cache: true
- name: Install Brother scanner driver deb from website
apt:
deb: https://download.brother.com/welcome/dlf105157/brscan5-1.2.3-0.amd64.deb
- name: Install libgksu from lauchpad.net
apt:
deb: https://launchpad.net/~peppermintos/+archive/ubuntu/p9-dev/+build/14796280/+files/libgksu2-0_2.0.13~pre1-9ubuntu2+peppermint0.0.0.1_amd64.deb
- name: Install gksu from launchpad.net
apt:
deb: https://launchpad.net/~peppermintos/+archive/ubuntu/p9-dev/+build/14796235/+files/gksu_2.0.2-9ubuntu1+peppermint0.0.0.1_amd64.deb
- name: Install SimpleDockerUI from git repo
apt:
deb: https://github.com/felixgborrego/simple-docker-ui/releases/download/v0.5.5/SimpleDockerUI_0.5.5_amd64.deb
- name: Install zoom
apt:
deb: https://zoom.us/client/latest/zoom_amd64.deb