My Ubuntu LTS workstation management Ansible playbook.
Makes use of Ansible and the Pajuna Ansible roles.
- Run
curl -Ls http://pajuna.it | bash - Edit
~/.ansible/playbook/site.ymland add some roles - Edit
~/.ansible/playbook/settings.ymland add a bunch of info. - Start an ssh-agent
eval "$(ssh-agent -s)"
- add your ssh key to the agent
ssh-add
- run
pajuna -K
$ pajuna -KA collection of Ansible based repos for lowering the time it takes to be productive again when you are starting with a new Ubuntu LTS Workstation. This includes remastering the Ubuntu installer iso through to installing and managing development tools, dotfiles and more.
- lower the time it takes to be productive again when you are starting with a new workstation
- to be of minimal hindrance to keep it up to date
- not rely on any bespoke software that is at risk of becoming abandonware
- Waiting for your contribution upstream shouldn't slow you down
The following directories are used
- ~/.ansible
- This is a clone of YOUR version of pajuna/mystation
- ~/.ansible/roles
- This is where private roles belong.
- These roles take precedence over all others.
- ~/.pajuna/myfork
- Your FORK of pajuna/Ubuntu-LTS
- This IS to be edited by you)
- Send PR's from this to upstream
- ~/.pajuna/upstream
- Upstream clone of pajuna/Ubuntu-LTS
- This is not to be edited by you)
- ~/.dotfiles
- Self explanitory but the Pajuna roles all assume your dotfiles is a git directory
- ~/.vim
- Self explanitory but the Pajuna roles assume your .vim directory is a git directory
Ansible will look for roles in the following places, in order:
- ~/.ansible/roles
- ~/.pajuna/myfork
- ~/.pajuna/upstream
If you want to make a change to a role in the Pajuna Ubuntu LTS repo then fork it, clone into ~/.pajuna/myfork and hack on in in a branch and submit a PR to upstream.
With a clean fresh minimal install of Ubuntu LTS the following bootstrap script is all you need to get up and running with Pajuna.
curl -Ls http://pajuna.it/ | bashThis bootstrap script will:
add the Ansible PPA
install Ansible from PPA
git clone https://github.com/pajuna/mystation.git ~/.ansible
git clone https://github.com/pajuna/Ubuntu-LTS.git ~/.pajuna/upstream
- Edit playbook/site.yml and add some roles
- Edit playbook/settings.yml and add a bunch of info.
- Start an ssh-agent
eval "$(ssh-agent -s)"
- add your ssh key to the agent
ssh-add
- run
pajuna -K
$ pajuna -KEach role in pajuna/Ubuntu-LTS that exposes any settings should have both a defaults/main.yml and a README.md with some info about what you need in your settings.yml
NOTE You can create yourself an automated Ubuntu installer using the Pajuna automated iso generator
| Author | Mick Pollard (aussielunix at g mail dot com) |
|---|---|
| Copyright | Copyright (c) 2017 by Mick Pollard |
| License | Distributed under the MIT License, see LICENSE |
| @aussielunix |