This project contains handy ansible playbooks divided into several environments. It installs 'global' tag globally and 'user' tag for all accounts individually. Roles are installed for each playbook if the same playbook file exists with a roles.
prefix, e.g. roles.ubuntu.yml
for ubuntu.yml
.
-s|--skip-global
Skip tasks with 'global' tag.-f|--force
Install tasks with 'force' tag.
- Ubuntu 22.04.2 LTS (minimal installation)
- python and pip
- ansible and git
sudo apt update
sudo apt upgrade -y
sudo apt install python3-pip
sudo pip install -U ansible
sudo apt install git
This is a complete simple use-case on how to install basic environments on a fresh Ubuntu installation. To update or sync after adding a new user account, repeat the very same process.
-
Install updates or existing packages
The third command will reboot the computer which may or may not be necessary.sudo apt update sudo apt upgrade -y sudo reboot
-
Clone or update ansible project
This command either creates (clones) or updates the existing globalansible
repository.sudo mkdir -p /usr/local/share/ansible/ cd /usr/local/share/ansible sudo git clone https://github.com/internetguru/ansible.git \ || sudo git pull
-
Install ansible for all users See options below and notice another reboot command.
cd /usr/local/share/ansible sudo ./install.sh fresh.yml ubuntu.yml sudo reboot
Installs essential commands and CLI environment for Debian/Ubuntu.
- vim
- curl
- htop
- git
- mc
- build-essential
- net-tools
- gettext
- tree
- tldr
- avahi-daemon
- Set keep alive SSH
- Disable wayland
Sets up Internet Guru server environment.
- 2 GB swapfile in
/root/swapfile
- Internet Guru MOTD
- ufw with basic rules
Enables Windows-like panel and adds practical programs, scripts and adjustments for Ubuntu. It also adds basic developer programs and tools.
- gnome-screensaver
- gnome-session
- gnome-settings-daemon
- gnome-tweaks
- kolourpaint (alternative to MS Paint)
- rtorrent (cheet sheet)
- rhythmbox
- mpv
- wmctrl
- variety with awesome background sources!
- keepass
- shellcheck
- dash-to-panel
- google-chrome
- chrome-remote-desktop
- set as default browser
- zoom
- teamviewer
- slack
- discord
- virtualbox
- sublime-text with shared settings
- docker
- flow
- butt
- diff-so-fancy
- java
- php
- nodejs
- python3
~/work
folder with various format file names touched- system configuration
- system keyboard shortcuts
- date-menu-formatter
- night light control script
- default favorites
- ubuntu-drivers autoinstall
Clears previously installed applications and configuration that has been withdrawn.
- /usr/local/share/.oh-my-zsh
- ~/.ansible
- ~/bashcfg
- ~/butt
- ~/omgf
- ~/vimrc
- ~/zshrc
- ~/.zsh_history
- ~/.zshrc
- ~/.zshrc.local
Ctrl+Alt+i
display README of installed versionCtrl+Alt+s
lock and sleep (suspend)Ctrl+Alt+f
screen offCtrl+Alt+l
toggle night-light (on/off/auto)Ctrl+Alt+End
power off dialogAlt+Shift+End
restart dialog
Ctrl+Shift+PgUp
volume upCtrl+Shift+PgDown
volume downCtrl+Shift+Del
mute volume
Win+s
application overviewWin+c
calculator
Pause
,Menu
compose keys
- "Unknown error when attempting to call Galaxy"
- Check your internet connection and run ansible again.
- "already installed" warnings
- Ignore.
- Sublime Text not downloading shared settings after installation.
- Open Sublime Text.
- Run Tools / Command Pallette… (
ctrl+shift+p
) / Install Package Control (or just typeipc
and pressEnter
). - Restart (close and run) Sublime, wait until Sync Settings plugin is installed.
- Run Tools / Command Palette… (
ctrl+shift+p
) / Sync Settings: Download (or just typedownload
and pressEnter
). Ignore warning message(s). - Note: You may need to run the Download command again for theme to take effect.
- Global Vim plugins are not installed
sudo vim
- Hit Enter repeatedly, until insallation starts.
- After installation finishes, hit Enter again.
- Exit vim using
:q
two times.
- Wireless mouse wakes up the computer.
- No sw solution found. Turn off your mouse physically if possible.
- Keyboard switching mismatch, similar to a 18.04 bug.
- Reboot or re-login or restart gnome-shell with
killall -3 gnome-shell
orAlt+F2
, typer
and hitEnter
.
- Reboot or re-login or restart gnome-shell with
- Unable to launch Ansible info desktop icon
- Right click on the icon and click on Allow Launching.
- Manual partitioning during Ubuntu installation
- Change swap size
- Move home to external partition
- Set default audio device
- Make login screen appear in external display
- Transfer audio from PC to iPhone
- Enable SSH server
- Compose key cheet sheet
- Change compose key
- Change font size
- Chrome streamkeys extension
- Grant And Remove Sudo Privileges
- Internal Microphone Not Working
- MPV keyboard shortcuts
Copyright © Internet Guru
This software is licensed under the CC BY-NC-SA license. There is NO WARRANTY, to the extent permitted by law. See the LICENSE file.
For commercial use, a nominal fee may be applicable based on the company size and the nature of their product. In many instances, this could result in no fees being charged at all. Please contact us at [email protected] for further information.
Please do not hesitate to reach out to us for inquiries related to seminars, workshops, training, integration, support, custom development, and additional services. We are more than happy to assist you.