Skip to content

pajuna/mystation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pajuna Playbook

My Ubuntu LTS workstation management Ansible playbook.

Makes use of Ansible and the Pajuna Ansible roles.

TL;DR

  • Run curl -Ls http://pajuna.it | bash
  • Edit ~/.ansible/playbook/site.yml and add some roles
  • Edit ~/.ansible/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 -K

What is Pajuna

A 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.

The goals of this project

  • 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

Directory layout

The following directories are used

  • ~/.ansible
  • ~/.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
  • ~/.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.

Getting Started

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/ | bash

This 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 -K

Each 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

AuthorMick Pollard (aussielunix at g mail dot com)
CopyrightCopyright (c) 2017 by Mick Pollard
LicenseDistributed under the MIT License, see LICENSE
twitter @aussielunix

About

Clone me to manage your workstation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages