You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Toshio Kuratomi 4b0aa1214c Ziploader
* Ziploader proof of concept (jimi-c)

* Cleanups to proof of concept ziploader branch:

* python3 compatible base64 encoding
* zipfile compression (still need to enable toggling this off for
  systems without zlib support in python)
* Allow non-wildcard imports (still need to make this recusrsive so that
  we can have module_utils code that imports other module_utils code.)
* Better tracebacks: module filename is kept and module_utils directory
  is kept so that tracebacks show the real filenames that the errors
  appear in.

* Make sure we import modules that are used into the module_utils files that they are used in.

* Set ansible version in a more pythonic way for ziploader than we were doing in module replacer

* Make it possible to set the module compression as an inventory var

This may be necessary on systems where python has been compiled without
zlib compression.

* Refactoring of module_common code:

* module replacer only replaces values that make sense for that type of
  file (example: don't attempt to replace python imports if we're in
  a powershell module).
* Implement configurable shebang support for ziploader wrapper
* Implement client-side constants (for SELINUX_SPECIAL_FS and SYSLOG)
  via environment variable.
* Remove strip_comments param as we're never going to use it (ruins line
  numbering)

* Don't repeat ourselves about detecting REPLACER

* Add an easy way to debug

* Port test-module to the ziploader-aware modify_module()

* strip comments and blank lines from the wrapper so we send less over the wire.

* Comments cleanup

* Remember to output write the module line itself in powershell modules

* for line in lines strips the newlines so we have to add them back in
9 years ago
.github One more improvement 9 years ago
bin draft 1st release of ansible-console 9 years ago
contrib Fix CACHE_DIR mode in contrib/inventory/spacewalk.py 9 years ago
docs/man proposals were moved to ansible/proposals 9 years ago
docsite updated docs to reflect new retry path 9 years ago
examples Ziploader 9 years ago
hacking Ziploader 9 years ago
lib/ansible Ziploader 9 years ago
packaging backwards compat for python-support on old Debian/Ubuntu releases 9 years ago
samples Proposed change to documentation to elaborate on new notation style for with_items / with_subelements 9 years ago
test Ziploader 9 years ago
ticket_stubs Small type 9 years ago
.coveragerc Add tox and travis-ci support 10 years ago
.gitattributes updated changelog with 1.8.2-4 content, added .gitattributes 10 years ago
.gitignore now generate list of playbook ojbect directives 9 years ago
.gitmodules remove old dead code 9 years ago
.travis.yml Run longest running tests first to see if we shave off a few minutes 9 years ago
CHANGELOG.md changelog: add new module win_owner 9 years ago
CODING_GUIDELINES.md CODING_GUIDELINES: Fix typo: / => \ 10 years ago
CONTRIBUTING.md Update CONTRIBUTING.md with more recent developments 9 years ago
COPYING license file should be in source tree 13 years ago
MANIFEST.in added galaxy data 9 years ago
Makefile only send event if tqm exists 9 years ago
README.md trigger jenkins integration tests 9 years ago
RELEASES.txt 2016 is the year 9 years ago
ROADMAP.md be brand-approved 9 years ago
VERSION Correct VERSION in the devel branch 9 years ago
ansible-core-sitemap.xml adding sitemap for swiftype to core 9 years ago
setup.py renamed shell to console in last spot 9 years ago
tox.ini Reorganizing tox stuff and making py3-specific requirements 9 years ago

README.md

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 Led Zeppelin songs. (Releases prior to 2.0 were 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