Go to file
Abhijit Menon-Sen 1284c49bd7 Rewrite the INI InventoryParser
The new code parses INI-format inventory files in a single pass using a
well-documented state machine that reports precise errors and eliminates
the duplications and inconsistencies and outright errors in the earlier
three-phase parsing code (e.g. three ways to skip comments). It is also
much easier now to follow what decisions are being taken on the basis of
the parsed data. The comments point out various potential improvements,
particularly in the area of consistent IPv6 handling.

On the ornate marble tombstone of the old code, the following
inscription is one last baffling memento from a bygone age:

-    def _before_comment(self, msg):
-        ''' what's the part of a string before a comment? '''
-        msg = msg.replace("\#","**NOT_A_COMMENT**")
-        msg = msg.split("#")[0]
-        msg = msg.replace("**NOT_A_COMMENT**","#")
-        return msg
2015-08-20 22:05:17 +05:30
bin Revert "Allow exceptions to pass through the program" 2015-08-06 10:02:58 -04:00
contrib Merge pull request #11446 from cchurch/windows_azure_from_tower 2015-08-18 15:35:51 -04:00
docs/man Add become support for OpenBSD doas 2015-08-17 21:31:18 -04:00
docsite Merge pull request #12024 from jhawkesworth/win_splitdrive_filter 2015-08-20 10:49:42 -04:00
examples some fixes to become/sudo 2015-08-15 12:17:40 -04:00
hacking Fix rm call in hacking/env-setup. Since it is sourced from a user shell, 2015-08-15 00:43:45 +02:00
lib/ansible Rewrite the INI InventoryParser 2015-08-20 22:05:17 +05:30
packaging
samples Moving ConnectionInformation -> PlayContext 2015-07-21 12:13:50 -04:00
test Don't convert nulls to strings. 2015-08-19 18:35:07 -04:00
ticket_stubs for ansibot compensation 2015-07-08 10:12:08 -04:00
v1 Don't convert nulls to strings. 2015-08-19 18:35:07 -04:00
.coveragerc
.gitattributes
.gitignore
.gitmodules
.travis.yml Push python2.4 check into travis 2015-07-31 23:45:10 -07:00
CHANGELOG.md Don't convert nulls to strings. 2015-08-19 18:35:07 -04:00
CODING_GUIDELINES.md
CONTRIBUTING.md
COPYING
ISSUE_TEMPLATE.md Merge pull request #9853 from axos88/patch-1 2015-07-21 10:56:43 -04:00
Makefile added egg to cleanup 2015-08-16 09:33:20 -04:00
MANIFEST.in Fix removal of .git from modules directories 2015-07-13 15:46:09 -04:00
README.md Merge pull request #11869 from charleswhchan/devel 2015-08-06 07:22:13 -04:00
RELEASES.txt
setup.py add distutils package classifiers 2015-07-27 19:33:54 +00:00
test-requirements.txt Mock 1.1.0 lost python2.6 compatibility 2015-07-10 09:11:03 -07:00
tox.ini Push python2.4 check into travis 2015-07-31 23:45:10 -07:00
VERSION

PyPI version PyPI downloads Build Status

Ansible

Ansible is a radically simple IT automation system. It handles configuration-management, application deployment, cloud provisioning, ad-hoc task-execution, and multinode orchestration - including trivializing things like zero downtime rolling updates with load balancers.

Read the documentation and more at http://ansible.com/

Many users run straight from the development branch (it's generally fine to do so), but you might also wish to consume a release.

You can find instructions here for a variety of platforms. If you decide to go with the development branch, be sure to run git submodule update --init --recursive after doing a checkout.

If you want to download a tarball of a release, go to releases.ansible.com, though most users use yum (using the EPEL instructions linked above), apt (using the PPA instructions linked above), or pip install ansible.

Design Principles

  • Have a dead simple setup process and a minimal learning curve
  • Manage machines very quickly and in parallel
  • Avoid custom-agents and additional open ports, be agentless by leveraging the existing SSH daemon
  • Describe infrastructure in a language that is both machine and human friendly
  • Focus on security and easy auditability/review/rewriting of content
  • Manage new remote machines instantly, without bootstrapping any software
  • Allow module development in any dynamic language, not just Python
  • Be usable as non-root
  • Be the easiest IT automation system to use, ever.

Get Involved

  • Read Community Information for all kinds of ways to contribute to and interact with the project, including mailing list information and how to submit bug reports and code to Ansible.
  • All code submissions are done through pull requests. Take care to make sure no merge commits are in the submission, and use git rebase vs git merge for this reason. If submitting a large code change (other than modules), it's probably a good idea to join ansible-devel and talk about what you would like to do or add first and to avoid duplicate efforts. This not only helps everyone know what's going on, it also helps save time and effort if we decide some changes are needed.
  • Users list: ansible-project
  • Development list: ansible-devel
  • Announcement list: ansible-announce - read only
  • irc.freenode.net: #ansible

Branch Info

  • Releases are named after Van Halen songs.
  • The devel branch corresponds to the release actively under development.
  • As of 1.8, modules are kept in different repos, you'll want to follow core and extras
  • Various release-X.Y branches exist for previous releases.
  • We'd love to have your contributions, read Community Information for notes on how to get started.

Authors

Ansible was created by Michael DeHaan (michael.dehaan/gmail/com) and has contributions from over 1000 users (and growing). Thanks everyone!

Ansible is sponsored by Ansible, Inc