Skip to content
/ silos Public

A simple set of deployment scripts using fabric and cuisine for ubuntu.

Notifications You must be signed in to change notification settings

jeffh/silos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silos

A collection of missiles to fire with a red button! Err, I mean you can setup ubuntu-based servers easily with this.

Setup

You'll need to install dependencies with pip. Run:

pip install -r requirements.txt

This will install fabric, which is used to run the tasks with the fab command.

Usage

Use the fab -l to see all the lists commands:

add_cron_ping
bootstrap
reboot_if_required
setup_git_repo
setup_gitolite
setup_python
add_key
verbose

Use the -H <server> arg to run the commands on a server:

fab -H root@ip-addr add_key bootstrap

This will add your own ssh key from ~/.ssh/id_rsa.pub to the authorized_keys, then update your system, before finally installing unattended-upgrades and vim.

Store Hosts

Typing the host every time is annoying. Rename hosts_sample.py to hosts.py and configure it to your needs.

Then you can prefix it with a nice name:

fab pi add_key bootstrap

About

A simple set of deployment scripts using fabric and cuisine for ubuntu.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages