Ansible Resources ================= .. image:: http://ansible.cc/docs/_static/ansible_fest_2013.png :alt: ansiblefest 2013 :target: http://ansibleworks.com/fest User contributed playbooks, modules, and articles. This is a small curated list, but growing. Everyone is encouraged to add to this document, just `edit it on Github `_ and send a pull request! 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 (especially all submitted to core) 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 (we keep the language simple for EXACTLY that reason), but it can be helpful to look at what others have done for reference and see what is possible. The ansible-examples repo on github contains some examples of best-practices Ansible content deploying some full stack workloads: - `Ansible-Examples `_ And here are some other community-developed playbooks. Feel free to submit a pull request to the docs to add your own. - `edX Online `_ - `edX Online `_ - `Fedora Infrastructure `_ - `Fedora `_ - `Hadoop `_ - jkleint - `LAMP `_ - `Four Kitchens `_ - `LEMP `_ - francisbesset - `Ganglia (demo) `_ - mpdehaan - `Nginx `_ - cocoy - `OpenStack `_ - lorin - `Systems Configuration `_ - cegeddin 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.