summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Don't set ANSIBLE_HOSTS inside the env-setup scriptTim Bielawa2012-03-051-4/+0
| |
| * Update constants.py to pull module path and the hosts file from theTim Bielawa2012-03-055-14/+51
|/ | | | | | | | environment (ANSIBLE_{LIBRARY,HOSTS}) if defined. Update manpages to represent this. Also update the env-setup script to set ANSIBLE_{LIBRARY,HOSTS}.
* Merge pull request #74 from tbielawa/ungroupedMichael DeHaan2012-03-051-0/+1
|\ | | | | Fix parse_hosts to not blow up on ungrouped hosts.
| * Fix parse_hosts to not blow up on ungrouped hosts.Tim Bielawa2012-03-051-0/+1
| |
* | Merge pull request #76 from tbielawa/hackingMichael DeHaan2012-03-054-2/+27
|\ \ | | | | | | Add environment updating script 'env-setup' to facilitate running ansibl...
| * | Add environment updating script 'env-setup' to facilitate running ansible ↵Tim Bielawa2012-03-054-2/+27
| |/ | | | | | | from a git checkout.
* | Merge pull request #75 from tbielawa/freshenMakeCleanMichael DeHaan2012-03-051-5/+7
|\ \ | |/ |/| Freshen up Makefile clean target
| * Freshen up Makefile clean targetTim Bielawa2012-03-051-5/+7
|/
* Merge pull request #73 from skvidal/featureMichael DeHaan2012-03-053-3/+55
|\ | | | | rpm pkging/spec file
| * correct licenseSeth Vidal2012-03-051-1/+1
| |
| * add python-paramiko dependencySeth Vidal2012-03-051-0/+1
| |
| * add MANIFEST.in, ansible.spec, modify setup.py for rpm pkg creationSeth Vidal2012-03-053-3/+54
|/
* Merge pull request #70 from tbielawa/playbookmanpageMichael DeHaan2012-03-051-1/+1
|\ | | | | Correct see-also in playbook manpage
| * Correct see-also in playbook manpageTim Bielawa2012-03-051-1/+1
|/
* Setup module testsMichael DeHaan2012-04-042-3/+31
|
* Async tests complete. Fixed bug in async_wrapperMichael DeHaan2012-04-042-8/+5
|
* WIP on async testsMichael DeHaan2012-04-042-8/+24
|
* Here are those tests I talked about previously :)Michael DeHaan2012-04-044-0/+154
|
* Add test for template module and make 'dark' errors clearer if we get output ↵Michael DeHaan2012-04-041-5/+5
| | | | | | back and the JSON is not parseable
* Strip trailing newlines from command module, which happens in some shell ↵Michael DeHaan2012-04-041-2/+2
| | | | commands
* * Added uptime.py as an example of somewhat minimal API usage & reportingMichael DeHaan2012-04-043-8/+44
| | | | | | * Pattern in API now has a default * Fixed bug in template module operation detected from running playbook (tests for that pending) * Workaround for multiprocessing lib being harmlessly squeaky (feeder thread got sentinel)
* Added tests for the guts of the program (Runner()) and modules. Idea is to runMichael DeHaan2012-04-041-0/+3
| | | | | | everything as the logged in user using local checkout and write to a tempdir. To run tests, be sure user is in SSH authorized_keys for themselves, this DOES run through paramiko because mocking it out would defeat the point of having tests.
* Allow ":" to be used to split patterns as well as ";" so if you are just ↵Michael DeHaan2012-03-031-1/+2
| | | | using group names or fully explicit names you do not need to use shell quoting at all. Obviously if you use wildcards like "*" you wouldstill.
* Fix code formatting in README.mdMichael DeHaan2012-03-031-2/+2
|
* attempt to explain import syntax in ansible-playbook manpage. Can't includeMichael DeHaan2012-03-031-10/+30
| | | | | examples inline because github won't display them well, want to move this file to markdown soon.
* README updatesMichael DeHaan2012-03-031-12/+34
|
* Remove debug commentsMichael DeHaan2012-03-031-7/+7
|
* Async module, mostly operational, daemonizing/watch code may have bugsMichael DeHaan2012-03-031-16/+25
|
* async module now forksMichael DeHaan2012-03-031-6/+26
|
* Time limit needs to be passed to async_wrapper.Michael DeHaan2012-03-032-3/+4
|
* Added start of async_status script.Michael DeHaan2012-03-031-0/+98
| | | | | | | | | Parameters: jid=X mode=status|cleanup (default status) status = returns results from the job cleanup = deletes the job file, should also kill the job if still running (TODO)
* Laying the groundwork for async mode, async status script still needs to be ↵Michael DeHaan2012-03-035-25/+145
| | | | | | | done, and async_wrapper still needs to daemonize. Then, once done, playbook can be taught how to poll async within the timing window.
* Add user to playbook example so it's clear that this is availableMichael DeHaan2012-03-031-1/+2
|
* Ability to import task lists and handler lists from a top level playbook ↵Michael DeHaan2012-03-035-8/+62
| | | | | | | file. It is possible to use multiple import statements to implement 'class' like behavior, and also to share a common list of handlers between multiple patterns.
* Update AUTHORSMichael DeHaan2012-03-031-0/+1
|
* add info about the 'all' group to README.mdMichael DeHaan2012-03-031-6/+8
|
* Add -i, -k, and -M to ansible-playbook CLI to match options in /usr/bin/ansibleMichael DeHaan2012-03-033-8/+20
|
* Make sure tempdirs are cleaned up after execution steps, fix notifiers, make ↵Michael DeHaan2012-03-034-35/+38
| | | | | | sure service module is installed by setup.py
* add pyflakes target & associated fixes. Also decided to save JSON to --tree ↵Michael DeHaan2012-03-035-7/+9
| | | | | | | file so it can be better used programatically. May have to come up with another system of tree logging for playbook if playbook decides to have tree logging. Presumably not the highest priority.
* Some minor from 'pep8', and silencing the PEP8 messages I don't care about.Michael DeHaan2012-03-035-24/+32
| | | | Also make pep8 show all messages rather than just 1 per code.
* Some minor refactoring of playbook code, more to go.Michael DeHaan2012-03-032-40/+42
|
* Add pydoc to playbook binary, fix default types for playbook '.get()' callMichael DeHaan2012-03-032-3/+10
|
* Added pydoc for utils.pyMichael DeHaan2012-03-031-0/+26
|
* Added pydoc for functions in Cli()Michael DeHaan2012-03-031-0/+10
|
* Extensive refactoring of bin/ansible, moving most output functions into ↵Michael DeHaan2012-03-034-109/+187
| | | | | | lib/ansible/utils to encourage readability and make things more maintainable.
* Add a newline in output here, possibly considering printing top level keys flatMichael DeHaan2012-03-031-3/+3
|
* Still seeing some weirdness from ohai but we can probably simplifyMichael DeHaan2012-03-031-15/+2
| | | | this until we figure out what that is.
* Let "all" be an alias for "*" in patterns, fix output bug on non-command ↵Michael DeHaan2012-03-034-0/+4
| | | | execution, make clean now removes the build dir
* make command module error when no -a more obvious as command is the default ↵Michael DeHaan2012-03-021-1/+1
| | | | | | module and someone may forget about -a. The CLI already warns about no host pattern by pulling up usage.
* update README.md on playbook field namesMichael DeHaan2012-03-021-2/+1
|