Skip to content

crypto101/ansible-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-config

This repository contains the Ansible configuration files for managing the servers for the Crypto 101 project.

I (lvh) am not a professional system administrator, and I am very new to ansible. All help would be highly appreciated!

Configuration

All configuration is in the local directory for now. That's in .gitignore to prevent you from accidentally adding some secret data.

inventory

This repo uses an inventory directory, inventory/. It contains configuration for localhost as well as a rax.py plugin. For Rackspace-specific configuration used by rax.py, see below. You can get that plugin from Ansible's dev tree here:

https://raw2.github.com/ansible/ansible/devel/plugins/inventory/rax.py

Apparently copying that file into your inventory directory is really how you do it.

pyrax

Crypto 101 is a Rackspace shop. We use a dynamic inventory for Ansible, provided by pyrax. You will need to put a pyrax credentials file in ./local/pyrax-credentials that looks somewhat like:

[rackspace_cloud]
username = crypto101
api_key = deadbeef

About

Ansible configuration for Crypto 101 servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published