Last active
January 11, 2020 22:57
-
-
Save dbarlett/5079802 to your computer and use it in GitHub Desktop.
Standalone Ansible playbook for (X)ubuntu post-install tasks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: ubuntu | |
user: admin | |
sudo: yes | |
tasks: | |
- name: Test distribution | |
fail: msg="Not Ubuntu, aborting" | |
when_string: $ansible_distribution != "Ubuntu" | |
- name: Install prerequisites for PPA management | |
apt: pkg=$item state=present update_cache=yes | |
with_items: | |
- python-software-properties | |
- software-properties-common | |
- name: Add PPAs | |
apt_repository: repo=$item | |
with_items: | |
- ppa:kevin-mehall/pithos-daily | |
- ppa:x2go/stable | |
- name: Uninstall cruft | |
apt: pkg=$item state=absent | |
with_items: | |
- abiword-common | |
- name: Install packages | |
apt: pkg=$item state=present update_cache=yes | |
with_items: | |
# System | |
- gparted | |
- ecryptfs-utils | |
- unetbootin | |
# VCS | |
- git | |
- gitg | |
- git-svn | |
- meld | |
# Text and graphics | |
- gedit | |
- libreoffice-calc | |
- libreoffice-core | |
- libreoffice-math | |
- libreoffice-impress | |
- libreoffice-pdfimport | |
- libreoffice-writer | |
- pdfmod | |
- gimp | |
- inkscape | |
- shutter | |
# Package management | |
- python-pip | |
- synaptic | |
# Network | |
- chromium-browser | |
- filezilla | |
- transmission | |
- grsync | |
- remmina | |
- pyhoca-gui | |
- wireshark | |
- zenmap | |
# Media | |
- pithos | |
- vlc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get remove abiword-common | |
sudo add-apt-repository ppa:pithos/ppa | |
sudo apt-get install ssh synaptic gparted unetbootin git git-svn gitg meld python-pip python-dev gcc nmap zenmap pithos vlc gedit gimp inkscape shutter chromium-browser filezilla transmission grsync remmina wireshark libreoffice-calc libreoffice-core libreoffice-math libreoffice-impress libreoffice-pdfimport libreoffice-writer pdfmod trimage gigolo transgui wine simple-scan chirp virt-manager hugin nautilus nvidia-xconfig | |
sudo pip install virtualenv requests selenium boto python-dateutil | |
#https://www.dropbox.com/install?os=lnx | |
#http://sourceforge.net/projects/passwordsafe/files/Linux-BETA/ | |
#http://www.truecrypt.org/downloads | |
#http://www.duplicati.com/home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment