ansible playbooks for charlesreid1.com infrastructure
Charles Reid a3e14f95b9 replace a task using a sed command 3 days ago
docs update table headers 5 days ago
group_vars/all rename/move docs 5 days ago
roles replace a task using a sed command 3 days ago
.gitignore add a gitignore file 6 days ago
LICENSE add mit license 3 weeks ago
Readme.md update table headers 5 days ago
Vagrantfile add support files for vagrant boxes 6 days ago
base.yml [WORKING ON VAGRANT] Update and fix all roles 5 days ago
charlesreid1pod.yml remove reference to base.yml in charlesreid1pod.yml 3 days ago
do.cfg [WORKING ON VAGRANT] Update and fix all roles 5 days ago
dohosts add digital ocean hosts and config files to replace aws stuff 5 days ago
provision.yml create non-root user in provision 5 days ago
vagrant.cfg update vagrant config file host file name 5 days ago
vagranthosts [WORKING ON VAGRANT] Update and fix all roles 5 days ago

Readme.md

charlesreid1-ansible

Ansible playbooks for charlesreid1.com infrastructure.

What is here?

Docker Pods

These docker pods are collections of related charlesreid1.com services. The Ansible playbooks prepare remote nodes so they are ready to run these docker pods.

Pod Link
pod-charlesreid1 https://git.charlesreid1.com/docker/pod-charlesreid1
pod-bots https://git.charlesreid1.com/docker/pod-bots
pod-webhooks https://git.charlesreid1.com/docker/pod-webhooks

Playbooks

There is one playbook per docker pod, plus a base playbook and a provision playbook.

Playbook Description
charlesreid1pod.yml Playbook to install and run the charlesreid1.com docker pod (https://git.charlesreid1.com/docker/pod-charlesreid1)
charlesreid1hooks.yml Playbook to install and run the webhooks pod (https://git.charlesreid1.com/docker/pod-webhooks)
charlesreid1bots.yml Playbook to install and run the bot pod (https://git.charlesreid1.com/docker/pod-bots)
base.yml Base playbook run by all of the pod playbooks above.
provision.yml Playbook to provision new Ubuntu machines with /usr/bin/python.

Roles

The following roles carry out groups of related tasks.

Role Name Description
init-root Prepare root user account
init-nonroot Prepare nonroot user account(s)
install-stuff Install stuff with aptitude
pyenv Install pyenv for nonroot user
goenv Install goenv for nonroot user
sshkeys Set up ssh keys for all users
vim Set up vim for nonroot user
dotfiles Install and configure dotfiles for nonroot user

Ansible Playbook Documentation

See docs/index.md for the full documentation.

See docs/quickstart.md for a quick start guide.