Driving OpenStack via Ansible

Last week I spoke at the Atlanta OpenStack meetup about “Driving OpenStack via Ansible,” in which I introduced Ansible as a tool and talked about its ability to integrate with OpenStack. As part of the presentation I used two playbooks to launch VMs on a cloud and configure them with different applications. We walked through the playbooks and talked about what they were doing, the things that tripped me up while writing them, and then brainstormed ways to use Ansible in situations that have come up for members of the meetup.

One playbook uses my role to install ZNC, the popular IRC “bouncer,” for maintaining a persistent chat presence. The other demo was based on a playbook with the roles needed to configure a server for OpenStack development, ready to run devstack.

The slides are available, and you can download the playbooks from the github repository and try them yourself.

We used Dreamhost’s public cloud, DreamCompute, for the demo at the meetup. Thanks to the DreamHost crew for providing those resources!

site — Site-wide Configuration — PyMOTW 3

The site module handles site-specific configuration, especially the import path. Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.

shelve — Persistent Storage of Objects — PyMOTW 3

The shelve module can be used as a simple persistent storage option for Python objects when a relational database is not required. The shelf is accessed by keys, just as with a dictionary. The values are pickled and written to a database created and managed by dbm . Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.

sysconfig — Interpreter Compile-time Configuration — PyMOTW 3

The features of sysconfig have been extracted from distutils to create a stand-alone module. It includes functions for determining the settings used to compile and install the current interpreter. Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.

xmlrpc.server — An XML-RPC server — PyMOTW 3

The xmlrpc.server module contains classes for creating cross-platform, language-independent servers using the XML-RPC protocol. Client libraries exist for many other languages besides Python, making XML-RPC an easy choice for building RPC-style services. Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.

tabnanny — Indentation validator — PyMOTW 3

Consistent use of indentation is important in a langauge like Python, where white-space is significant. The tabnanny module provides a scanner to report on “ambiguous” use of indentation. Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.

xmlrpc.client — Client Library for XML-RPC — PyMOTW 3

XML-RPC is a lightweight remote procedure call protocol built on top of HTTP and XML. The xmlrpclib module lets a Python program communicate with an XML-RPC server written in any language. Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.

fnmatch — Unix-style Glob Pattern Matching — PyMOTW 3

The fnmatch module is used to compare filenames against glob-style patterns such as used by Unix shells. Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.

entry-point-inspector 0.1.1

thumbnail imageWhat’s new in 0.1.1? Added MANIFEST.in file (contributed by Chandan Kumar) Fix link to stevedore (contributed by Wil Cooley) update author email write announcement