2012-03-07 17:35:18 +01:00
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > Ansible — Ansible v0.0.1 documentation< / title >
< link rel = "stylesheet" href = "_static/default.css" type = "text/css" / >
< link rel = "stylesheet" href = "_static/pygments.css" type = "text/css" / >
< script type = "text/javascript" >
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '0.0.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
< / script >
< script type = "text/javascript" src = "_static/jquery.js" > < / script >
< script type = "text/javascript" src = "_static/underscore.js" > < / script >
< script type = "text/javascript" src = "_static/doctools.js" > < / script >
< link rel = "top" title = "Ansible v0.0.1 documentation" href = "#" / >
< link rel = "next" title = "Getting Started" href = "gettingstarted.html" / >
< / head >
< body >
< div class = "related" >
< h3 > Navigation< / h3 >
< ul >
< li class = "right" style = "margin-right: 10px" >
< a href = "genindex.html" title = "General Index"
accesskey="I">index< / a > < / li >
< li class = "right" >
< a href = "gettingstarted.html" title = "Getting Started"
accesskey="N">next< / a > |< / li >
< li > < a href = "#" > Ansible v0.0.1 documentation< / a > » < / li >
< / ul >
< / div >
< div class = "document" >
< div class = "documentwrapper" >
< div class = "bodywrapper" >
< div class = "body" >
< div class = "section" id = "ansible" >
< h1 > Ansible< a class = "headerlink" href = "#ansible" title = "Permalink to this headline" > ¶< / a > < / h1 >
2012-03-08 19:36:47 +01:00
< p > Ansible is a radically simple deployment, configuration, and command execution framework.
Other tools in this space have been too complicated for too long, require too much bootstrapping,
and have too much learning curve. Ansible is dead simple and painless to extend. For comparison, Puppet and Chef have about 60k lines of code. Ansible’ s core is a little over 1000 lines.< / p >
< p > Ansible isn’ t just for configuration – it’ s also great for Ad-Hoc tasks,
quickly firing off commands against nodes. Where Ansible excels though, is expressing complex multi-node deployment processes, executing complex sequences of commands on different hosts through the “ playbooks” feature.< / p >
< p > Ansible does not require programming in any particular language – you can write modules
as scripts or programs that return simple JSON.< / p >
< p > Why use Ansible versus something else? (Puppet, Chef, Fabric, Capistrano,
2012-03-07 17:35:18 +01:00
mCollective, Func, SaltStack, etc?) It will have far less code, it
will be more correct, and it will be the easiest thing to hack on and
use you’ ll ever see – regardless of your favorite language of choice.
2012-03-08 19:36:47 +01:00
Systems management doesn’ t have to be complicated. Ansible’ s docs will remain
short & simple, and the source will be blindingly obvious.< / p >
< div class = "section" id = "design-goals" >
< h2 > Design Goals< a class = "headerlink" href = "#design-goals" title = "Permalink to this headline" > ¶< / a > < / h2 >
2012-03-07 17:35:18 +01:00
< ul class = "simple" >
< li > Dead simple setup< / li >
< li > Super fast & parallel by default< / li >
2012-03-08 19:36:47 +01:00
< li > No server or client daemons; use existing SSHd out of the box< / li >
2012-03-07 17:35:18 +01:00
< li > No additional software required on client boxes< / li >
< li > Modules can be written in ANY language< / li >
< li > Awesome API for creating very powerful distributed scripts< / li >
< li > Be usable as non-root< / li >
< li > Create the easiest config management system to use, ever.< / li >
< / ul >
< / div >
2012-03-08 19:36:47 +01:00
< div class = "section" id = "about-the-author" >
< h2 > About the Author< a class = "headerlink" href = "#about-the-author" title = "Permalink to this headline" > ¶< / a > < / h2 >
< p > Michael DeHaan is a Raleigh, NC based software developer and architect. He created other
DevOps programs such as Cobbler, the popular Linux install server.
Cobbler is used to deploy mission critical systems all over the planet, in industries
ranging from massively multiplayer gaming, core internet infrastructure, finance,
chip design, and more. Michael also helped co-author of Func, which is used
to orchestrate systems in lots of diverse places.< / p >
< p > Ansible is an GPLv3 licensed open source project, so see the contributions section for how to
get involved.< / p >
2012-03-07 18:41:53 +01:00
< / div >
< / div >
< div class = "section" id = "contents" >
< h1 > Contents< a class = "headerlink" href = "#contents" title = "Permalink to this headline" > ¶< / a > < / h1 >
2012-03-07 17:35:18 +01:00
< div class = "toctree-wrapper compound" >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "gettingstarted.html" > Getting Started< / a > < ul >
2012-03-08 19:36:47 +01:00
< li class = "toctree-l2" > < a class = "reference internal" href = "gettingstarted.html#requirements" > Requirements< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "gettingstarted.html#developer-requirements" > Developer Requirements< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "gettingstarted.html#getting-ansible" > Getting Ansible< / a > < ul >
< li class = "toctree-l3" > < a class = "reference internal" href = "gettingstarted.html#python-distutils" > Python Distutils< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "gettingstarted.html#via-rpm" > Via RPM< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "gettingstarted.html#your-first-commands" > Your first commands< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "patterns.html" > Patterns< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "patterns.html#targetting-all-systems" > Targetting All Systems< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "patterns.html#specific-hosts" > Specific Hosts< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "patterns.html#groups" > Groups< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "patterns.html#wildcards" > Wildcards< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "patterns.html#mixing-things-up" > Mixing Things Up< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "modules.html" > Ansible Modules< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#about-modules" > About Modules< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#idempotence" > Idempotence< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#command" > command< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#copy" > copy< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#facter" > facter< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#git" > git< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#ohai" > ohai< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#ping" > ping< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#service" > service< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#setup" > setup< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#template" > template< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#user" > user< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#yum" > yum< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "modules.html#writing-your-own-modules" > WRITING YOUR OWN MODULES< / a > < / li >
2012-03-07 17:35:18 +01:00
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "YAMLScripts.html" > YAML Scripts< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "YAMLScripts.html#yaml-basics" > YAML Basics< / a > < / li >
< / ul >
< / li >
2012-03-08 19:36:47 +01:00
< li class = "toctree-l1" > < a class = "reference internal" href = "playbooks.html" > Playbooks< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#playbook-example" > Playbook Example< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#hosts-line" > Hosts line< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#vars-section" > Vars section< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#tasks-list" > Tasks list< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#task-name-and-comment" > Task name and comment< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#task-action" > Task action< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#notify-statements" > Notify statements< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#handlers" > Handlers< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#includes" > Includes< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#asynchronous-actions-and-polling" > Asynchronous Actions and Polling< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "playbooks.html#executing-a-playbook" > Executing A Playbook< / a > < / li >
< / ul >
< / li >
2012-03-07 17:35:18 +01:00
< li class = "toctree-l1" > < a class = "reference internal" href = "examples.html" > Examples< / a > < ul >
2012-03-08 19:36:47 +01:00
< li class = "toctree-l2" > < a class = "reference internal" href = "examples.html#parallelism-and-shell-commands" > Parallelism and Shell Commands< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "examples.html#example-2-time-limited-background-operations" > Example 2: Time Limited Background Operations< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "examples.html#examples-3-file-transfer-templating" > Examples 3: File Transfer & Templating< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "examples.html#examples-3-deploying-from-source-control" > Examples 3: Deploying From Source Control< / a > < / li >
2012-03-07 17:35:18 +01:00
< / ul >
< / li >
2012-03-07 18:41:53 +01:00
< li class = "toctree-l1" > < a class = "reference internal" href = "api.html" > API< / a > < / li >
2012-03-08 19:36:47 +01:00
< li class = "toctree-l1" > < a class = "reference internal" href = "communicate.html" > Communicate and Get Involved< / a > < / li >
2012-03-07 17:35:18 +01:00
< li class = "toctree-l1" > < a class = "reference internal" href = "man.html" > Man Pages< / a > < ul >
2012-03-07 18:41:53 +01:00
< li class = "toctree-l2" > < a class = "reference internal" href = "man.html#ansible-1" > ansible(1)< / a > < / li >
2012-03-07 17:35:18 +01:00
< / ul >
< / li >
< / ul >
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "sphinxsidebar" >
< div class = "sphinxsidebarwrapper" >
< h3 > < a href = "#" > Table Of Contents< / a > < / h3 >
< ul >
< li > < a class = "reference internal" href = "#" > Ansible< / a > < ul >
2012-03-08 19:36:47 +01:00
< li > < a class = "reference internal" href = "#design-goals" > Design Goals< / a > < / li >
< li > < a class = "reference internal" href = "#about-the-author" > About the Author< / a > < / li >
2012-03-07 17:35:18 +01:00
< / ul >
< / li >
2012-03-07 18:41:53 +01:00
< li > < a class = "reference internal" href = "#contents" > Contents< / a > < ul >
2012-03-07 17:35:18 +01:00
< / ul >
< / li >
< / ul >
< h4 > Next topic< / h4 >
< p class = "topless" > < a href = "gettingstarted.html"
title="next chapter">Getting Started< / a > < / p >
< h3 > This Page< / h3 >
< ul class = "this-page-menu" >
< li > < a href = "_sources/index.txt"
rel="nofollow">Show Source< / a > < / li >
< / ul >
< div id = "searchbox" style = "display: none" >
< h3 > Quick search< / h3 >
< form class = "search" action = "search.html" method = "get" >
2012-03-08 19:36:47 +01:00
< input type = "text" name = "q" / >
2012-03-07 17:35:18 +01:00
< input type = "submit" value = "Go" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< p class = "searchtip" style = "font-size: 90%" >
Enter search terms or a module, class or function name.
< / p >
< / div >
< script type = "text/javascript" > $ ( '#searchbox' ) . show ( 0 ) ; < / script >
< / div >
< / div >
< div class = "clearer" > < / div >
< / div >
< div class = "related" >
< h3 > Navigation< / h3 >
< ul >
< li class = "right" style = "margin-right: 10px" >
< a href = "genindex.html" title = "General Index"
>index< / a > < / li >
< li class = "right" >
< a href = "gettingstarted.html" title = "Getting Started"
>next< / a > |< / li >
< li > < a href = "#" > Ansible v0.0.1 documentation< / a > » < / li >
< / ul >
< / div >
< div class = "footer" >
© Copyright 2012 Michael DeHaan.
2012-03-08 19:36:47 +01:00
Last updated on Mar 08, 2012.
Created using < a href = "http://sphinx.pocoo.org/" > Sphinx< / a > 1.0.8.
2012-03-07 17:35:18 +01:00
< / div >
< / body >
< / html >