From b3f0678f2d55a2002368cd9834e0910c54cf7893 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 9 Aug 2012 22:00:19 -0400 Subject: [PATCH] fix tags and reuse of link name (annoying habit of sphinx to require uniqueness in HREFs) --- YAMLSyntax.html | 2 +- api.html | 2 +- bestpractices.html | 2 +- examples.html | 2 +- faq.html | 2 +- genindex.html | 2 +- gettingstarted.html | 2 +- glossary.html | 2 +- index.html | 2 +- moduledev.html | 8 ++-- modules.html | 94 ++++++++++++++++++++++++++++++++++++++----- patterns.html | 2 +- playbooks.html | 2 +- playbooks2.html | 2 +- rst/modules.rst | 4 +- search.html | 2 +- searchindex.js | 2 +- who_uses_ansible.html | 2 +- 18 files changed, 106 insertions(+), 30 deletions(-) diff --git a/YAMLSyntax.html b/YAMLSyntax.html index d252313926b..8b369277c3b 100644 --- a/YAMLSyntax.html +++ b/YAMLSyntax.html @@ -290,7 +290,7 @@ languages:

© Copyright 2012 Michael DeHaan.
- Last updated on Aug 08, 2012.
+ Last updated on Aug 09, 2012.

diff --git a/api.html b/api.html index 410276cdef6..5effd56c661 100644 --- a/api.html +++ b/api.html @@ -466,7 +466,7 @@ e.g.

© Copyright 2012 Michael DeHaan.
- Last updated on Aug 08, 2012.
+ Last updated on Aug 09, 2012.

diff --git a/bestpractices.html b/bestpractices.html index 689492fa9e9..6c886953b40 100644 --- a/bestpractices.html +++ b/bestpractices.html @@ -319,7 +319,7 @@ This way you have an audit trail describing when and why you changed the rules a

© Copyright 2012 Michael DeHaan.
- Last updated on Aug 08, 2012.
+ Last updated on Aug 09, 2012.

diff --git a/examples.html b/examples.html index fc63e1d9176..189cc57849f 100644 --- a/examples.html +++ b/examples.html @@ -397,7 +397,7 @@ a simplified syntax for this.

© Copyright 2012 Michael DeHaan.
- Last updated on Aug 08, 2012.
+ Last updated on Aug 09, 2012.

diff --git a/faq.html b/faq.html index 9c2db57bb86..0ed44fd197d 100644 --- a/faq.html +++ b/faq.html @@ -410,7 +410,7 @@ tasks – whether for a QA sytem, build system, or anything you can think of

© Copyright 2012 Michael DeHaan.
- Last updated on Aug 08, 2012.
+ Last updated on Aug 09, 2012.

diff --git a/genindex.html b/genindex.html index 447f11b0440..a69117e4785 100644 --- a/genindex.html +++ b/genindex.html @@ -205,7 +205,7 @@ s.parentNode.insertBefore(ga, s);

© Copyright 2012 Michael DeHaan.
- Last updated on Aug 08, 2012.
+ Last updated on Aug 09, 2012.

diff --git a/gettingstarted.html b/gettingstarted.html index b5040e5d385..aa416caf901 100644 --- a/gettingstarted.html +++ b/gettingstarted.html @@ -389,7 +389,7 @@ explore, but you already have a fully working infrastructure!

© Copyright 2012 Michael DeHaan.
- Last updated on Aug 08, 2012.
+ Last updated on Aug 09, 2012.

diff --git a/glossary.html b/glossary.html index 62c53ad5552..6ab29045989 100644 --- a/glossary.html +++ b/glossary.html @@ -261,7 +261,7 @@ is templated and transferred, is the example of a task.

© Copyright 2012 Michael DeHaan.
- Last updated on Aug 08, 2012.
+ Last updated on Aug 09, 2012.

diff --git a/index.html b/index.html index 5c92ce818f6..220f8869af3 100644 --- a/index.html +++ b/index.html @@ -415,7 +415,7 @@ Puppet Labs, and is now with

Sharing Your Module

If you think your module is generally useful to others, a good place to share it -is in Ansible Resources. This is maintained +is in Ansible Resources. This is maintained as a simple repo with pointers to other github projects.

Contrib modules here can be implemented in a variety of languages. We would like to build up as many of these as possible in as many languages as possible.

@@ -471,6 +471,8 @@ the program. Stop by the mailing list to inquire about requirements.

Ansible Modules
Learn about available modules
+
Ansible Resources
+
User contributed playbooks, modules, and articles
Github modules directory
Browse source of core modules
Mailing List
@@ -510,9 +512,9 @@ the program. Stop by the mailing list to inquire about requirements.

© Copyright 2012 Michael DeHaan.
- Last updated on Aug 08, 2012.
+ Last updated on Aug 09, 2012.

- + \ No newline at end of file diff --git a/modules.html b/modules.html index f973a438321..f8375a84bbe 100644 --- a/modules.html +++ b/modules.html @@ -155,6 +155,7 @@ s.parentNode.insertBefore(ga, s);
  • authorized_key
  • command
  • copy
  • +
  • easy_install
  • facter
  • fetch
  • file
  • @@ -172,10 +173,12 @@ s.parentNode.insertBefore(ga, s);
  • service
  • setup
  • shell
  • +
  • supervisorctl
  • template
  • user
  • virt
  • yum
  • +
  • Additional Contrib Modules
  • Writing your own modules
  • @@ -473,6 +476,43 @@ relative.
    copy src=/srv/myfiles/foo.conf dest=/etc/foo.conf owner=foo group=foo mode=0644
    +
    +

    easy_install

    +

    The easy_install module installs Python libraries.

    + ++++++ + + + + + + + + + + + + + + + + + + + +
    parameterrequireddefaultcomments
    nameyes a Python library name
    virtualenvno an optional virtualenv directory path to install into, if the virtualenv +does not exist it is created automatically
    +

    Example action from Ansible Playbooks:

    +
    easy_install name=flask
    +easy_install name=flask==0.8
    +easy_install name=flask virtualenv=/srv/webapps/my_app/venv
    +
    +

    facter

    Runs the discovery program ‘facter’ on the remote system, returning @@ -1287,8 +1327,42 @@ use your best judgement.

    shell somescript.sh >> somelog.txt
    +
    +

    supervisorctl

    +

    Manage the state of a program or group of programs running via Supervisord

    + ++++++ + + + + + + + + + + + + + + + + + + + +
    parameterrequireddefaultcomments
    nameyes The name of the supervisord program/process to manage
    stateyes ‘started’, ‘stopped’ or ‘restarted’
    +

    Example action from a playbook:

    +
    supervisorctl name=my_app state=started
    +
    +
    -

    template

    +

    template

    Templates a file out to a remote server.

    @@ -1328,7 +1402,7 @@ a relative or absolute path.
    -

    user

    +

    user

    Creates user accounts, manipulates existing user accounts, and removes user accounts.

    @@ -1427,7 +1501,7 @@ user name=mdehaan state=absent force=yes
    -

    virt

    +

    virt

    Manages virtual machines supported by libvirt. Requires that libvirt be installed on the managed machine.

    @@ -1487,7 +1561,7 @@ ansible host -m virt -a "command=virttype"
    -

    yum

    +

    yum

    Will install, upgrade, remove, and list packages with the yum package manager.

    @@ -1528,9 +1602,9 @@ yum name=httpd state=removed yum name=httpd state=installed -
    -

    Additional Contrib Modules

    -

    In addition to the following built-in modules, community modules are available at http://github.com/ansible/ansible-resources.

    +
    +

    Additional Contrib Modules

    +

    In addition to the following built-in modules, community modules are available at Ansible Resources.

    Writing your own modules

    @@ -1538,7 +1612,7 @@ yum name=httpd state=installed

    See also

    -
    Ansible Resources
    +
    Ansible Resources
    User contributed playbooks, modules, and articles
    Command Line
    Examples of using modules in /usr/bin/ansible
    @@ -1585,9 +1659,9 @@ yum name=httpd state=installed

    © Copyright 2012 Michael DeHaan.
    - Last updated on Aug 08, 2012.
    + Last updated on Aug 09, 2012.

    - + \ No newline at end of file diff --git a/patterns.html b/patterns.html index abe5f604f44..08c0806aa4a 100644 --- a/patterns.html +++ b/patterns.html @@ -381,7 +381,7 @@ a

    © Copyright 2012 Michael DeHaan.
    - Last updated on Aug 08, 2012.
    + Last updated on Aug 09, 2012.