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
Stephen Fromm 672794f586 Add ansible-pull
A first stab at a pull-based model for ansible.  This does two things:
    1. Invoke the git module via Runner to set up a git repository on the
       localhost.  It sets up Runner to use transport='local' and forces
       the inventory to just 'localhost'.
    2. Run any playbooks provided.  By default, this wants to run the
       playbook local.yml.  This also sets transport='local' and sets
       the host_list to a list: localhost, fqdn, and hostname.
The reason for setting the host_list and not using override_hosts is
because there may be plays in the playbook that are not meant for a
specific host.  That is, if the git repository is for the entire site
and not host-specific, you don't want to override hosts and apply all
plays to any given host.  This has the downside of potentially running a
play three times if the play is defined for 'hosts: all'.
13 years ago
bin Add ansible-pull 13 years ago
docs/man Because paramiko using a pty can't distinguish stderr and stdout, remove handling that 13 years ago
examples Add playbook and template to set up ansible-pull 13 years ago
hacking Clarify that stderr WILL crash your module. Can't redirect because if we do we lose tracebacks 13 years ago
lib/ansible Define 'inventory_hostname' variable for hosts. 13 years ago
library Group order in user module should not matter. 13 years ago
packaging Version bump for 0.3 release 13 years ago
test Define 'inventory_hostname' variable for hosts. 13 years ago
.gitignore clean exec bits from lib/ansible/*.py, ignore Eclipse/PyDev files 13 years ago
CHANGELOG.md changelog update 13 years ago
COPYING license file should be in source tree 13 years ago
MANIFEST.in Include license file in MANIFEST.in. Fixes #284 13 years ago
Makefile debian packaging 13 years ago
README.md changelog and readme 13 years ago
VERSION Version bump for integration branch (soon to be renamed 'devel'), didn't update package 13 years ago
setup.py Add requirements in setup.py. 13 years ago

README.md

Ansible

Ansible is a radically simple configuration-management, deployment, task-execution, and multinode orchestration framework.

Read all about at it at (http://ansible.github.com)

Design Principles

  • Dead simple setup
  • Super fast & parallel by default
  • No server or client daemons; use existing SSHd
  • No additional software required on client boxes
  • Modules can be written in ANY language
  • Awesome API for creating very powerful distributed scripts
  • Be usable as non-root
  • The easiest config management system to use, ever.

Get Involved

Branch Info

  • The master branch corresponds to release 0.3 "Baluchitherium".
  • Bug fixes WILL be periodically made to the master branch.
  • The devel branch corresponds to release 0.4 "Unchained".
  • Note: sudo support works much better in 0.4/devel, consider trying it.
  • See CHANGELOG.md for release notes to track each release.

Patch Instructions

Contributions to the core and modules are greatly welcome.

  • Required Process:
    • Submit github pull requests to the "ansible/devel" branch for features
    • Fixes for bugs may be submitted to "ansible/master"
    • Make sure "make tests" passes before submitting any requests.
  • Bonus points:
    • Joining the mailing list
    • Using squash merges
    • Updating the "rst/*" files in the docs project and "docs/" manpage content
    • Adding more unit tests
  • Avoid:
    • Sending patches to the mailing list directly.
    • Sending feature pull requests to the 'master' branch instead of the devel branch
    • Sending pull requests to mpdehaan's personal ansible fork.

Author

Michael DeHaan -- michael.dehaan@gmail.com

http://michaeldehaan.net