Ansible Resources ================= User contributed playbooks, modules, and articles. This is a small curated list, but growing. Everyone is encouraged to add to this document, just send in a github pull request to docsite/rst/contrib.rst! Ansible Modules ``````````````` Ansible modules are a way of adding new client-side logic to ansible. They can be written in any language. Generally our goal is to include most modules in core ("batteries included!"), though a few may remain outside of core depending on use cases and implementations. - `Official "core" ansible modules `_ - various - `Linode `_ - Lex Toumbourou - `zypper (bash module example) `_ - jp\_mens - `additional provisioning-related modules `_ - jhoekx and dagwieers - `dynamic dns updates `_ - jp\_mens All python modules should use the common "AnsibleModule" class to dramatically reduce the amount of boilerplate code required. Not all modules above may take advantage of this feature. See the official documentation for more details. Selected Playbooks `````````````````` `Playbooks `_ are Ansible's configuration management language. It should be easy to write your own from scratch for most applications, but it's always helpful to look at what others have done for reference. - `Hadoop `_ - jkleint - `LAMP `_ - `Four Kitchens `_ - `LEMP `_ - francisbesset - `Ganglia (demo) `_ - mpdehaan - `Nginx `_ - cocoy - `OpenStack `_ - lorin - `Systems Configuration `_ - cegeddin - `Fedora Infrastructure `_ - `Fedora `_ Callbacks and Plugins ````````````````````` The Ansible project has a whole repo devoted to extending ansible with new connection types, logging/event callbacks, and inventory data storage. Talk to Cobbler and EC2, tweak the way things are logged, or even add sound effects. - `Ansible-Plugins `_ Scripts And Misc ```````````````` Ansible isn't just a program, it's also an API. Here's some examples of some clever integrations with the "Runner" and also Playbook APIs, and integrations with other interesting pieces of software. - `Ansible Vagrant plugin `_ - dsander - `Ansible+Vagrant Tutorial `_ - mattupstate - - `virt-install `_ - skvidal - `rebooting hosts `_ - skvidal - `uptime (API demo) `_ - mpdehaan - `vim snippet generator `_ - bleader Blogs, Videos & Articles ```````````````````````` - `HighScalability.com `_ - mpdehaan - `ColoAndCloud.com interview `_ - mpdehaan - `dzone `_ - Mitch Pronschinske - `Configuration Management With Ansible `_ - jp\_mens - `Shell Scripts As Ansible Modules `_ - jp\_mens - `Ansible Facts `_ - jp\_mens - `Infrastructure as Data `_ - cocoy - `Ansible Pull Mode `_ - cocoy - `Exploring Configuration Management With Ansible `_ - Palamino DB - `You Should Consider Using SSH Based Configuration Management `_ - LShift Ltd - `Deploying Flask/uWSGI, Nginx, and Supervisorctl `_ - mattupstate - `Infracoders Presentation `_ - Daniel Hall - `Ansible - an introduction `_ - jp\_mens - `Using Ansible to setup complex networking - `_ - Robert Verspuy - `Video presentation to Montreal Linux `_ - Alexandre Bourget - `Provisioning CentOS EC2 Instances with Ansible `_ - jp\_mens Disclaimer `````````` Modules and playbooks here may not be using the latest in Ansible features. When in doubt to the features of a particular version of Ansbile, always consult `ansible.cc `_ and in particular see `Best Practices `_ for some tips and tricks that may be useful. Ansible is (C) 2012, `Michael DeHaan `_ and others and is available under the GPLv3 license. Content here is as specified by individual contributors.