Commit Graph

116 Commits (757574ee035dbf4a32eb428c4ac0731a94a818b4)
 

Author SHA1 Message Date
Michael DeHaan 757574ee03 Make templating example make more sense 13 years ago
Michael DeHaan ada866be46 Further README tweaks 13 years ago
Michael DeHaan ff53237893 Some readme cleanup 13 years ago
Michael DeHaan ba4e36a9a9 Rename 'ensure' to 'state' because I think it's a bit cleaner and doesn't imply
all modules take a common parameter name.  But more or less we still work idempotently
in modules.
13 years ago
Michael DeHaan 228d1a0834 A really basic git module. Improvements welcome. 13 years ago
Michael DeHaan 1e860ba188 Merge pull request #39 from skvidal/master
make tmp path be a dir rather than a temp file
13 years ago
Seth Vidal 39f42cfd75 when it is an IOError or an OSError - return a normal error message instead of a traceback barf 13 years ago
Seth Vidal 85f751175d - make tmp_path be a dir so we can put more than one command in there securely 13 years ago
Michael DeHaan 8fc69d3055 Merge pull request #38 from skvidal/master
two fixes here
13 years ago
Seth Vidal bd7a71bb29 implement manual multiprocessing pools for the runner.
this fixes the ctrl-c not-working problem.

implemented this solution: http://www.bryceboe.com/2010/08/26/python-multiprocessing-and-keyboardinterrupt/#georges

also add hosts which do not get a chance to return results to the 'dark' results.
13 years ago
Seth Vidal 1a20b00d1f If the error is an authentication exception - just report it that way don't dump out an unappetizing traceback which just says the same 13 years ago
Michael DeHaan 5781e6e02f Merge pull request #32 from tbielawa/DocsFixin
Docs fixin
13 years ago
Tim Bielawa 6612772711 Update man pages. Fix formatting in playbook example. Also, YAML documents by definition start with '---', so I have added this to the example and the manpage 13 years ago
Tim Bielawa 6027c16ddd Update distutils setup script to install the new manual page 13 years ago
Tim Bielawa afc7f4d246 This is configuration, not command. Rename to section 5 13 years ago
Tim Bielawa 9680de37c9 Manpages formatting 13 years ago
Tim Bielawa cdbc2168c1 Fix makefile manpage targets 13 years ago
Tim Bielawa d44e0bbb61 Update the python setup script to install the ansible modules man page. 13 years ago
Tim Bielawa b4fd0042f6 Fix up some wording/formatting in ansible-modyles.5. Also: Section 5 is for configuration, update the see-also to reflect this with respect to ansible-playbook. 13 years ago
Tim Bielawa 86bf871e07 Fixup the naming of the docs. 13 years ago
Michael DeHaan f7cff27f3d Drastically simply playbook syntax 13 years ago
Michael DeHaan 136d8fa33a add manpage crossreferences 13 years ago
Michael DeHaan 2262705ea3 Added stub for ansible-playbook (format) docs. Docs on ansible-playbook script TBD once
written.
13 years ago
Michael DeHaan fc4ba46d1a Add a ton of comments so folks can understand what runner does. More refactoring is
certaintly possible too.
13 years ago
Michael DeHaan c0ac0e9b62 Added comments to explain the playbook code. 13 years ago
Michael DeHaan 17a6ddb7ee Lining up with the reversion of 70ec508ee0, also
check the ansible-module file back in.  This is basically to make things easier
to build from setup.py.
13 years ago
Michael DeHaan 4e5da11217 Revert "don't check in manpage output file"
This reverts commit 70ec508ee0.
13 years ago
Michael DeHaan 78a254fc52 In playbooks, each pattern stanza can reference it's own user to run as, so you can
run things as multiple sets of users (if you want) in the same playbook.
13 years ago
Michael DeHaan 61d064d011 Fixed up KV munging in runner, misc fixes to copy, setup, and template modules 13 years ago
Michael DeHaan 226da501d3 Take notes about other modules that are in plan. 13 years ago
Michael DeHaan e5f62f20b1 make copy & template module take key/value parameters so we're consistent. Only the command
module works differently now

starter manpage for modules

allow template file location to be passed into template & setup modules
13 years ago
Michael DeHaan 77a7ddeebc Add start of documentation for modules 13 years ago
Michael DeHaan deb71da91e trim md5sum string so it does not contain the filename
also fix a bug/typo in the reporting from playbook
13 years ago
Michael DeHaan bfd93081ae Have to return the return code on failure, it's a rule! 13 years ago
Michael DeHaan d308254eae A basic service module with 'ensure' idempotence semantics. Playbook updated to use service
module vs command module for restarting.  May be some bugs and requires the service to implement 'status' -- and probably some better error handling (i.e. return JSON with "failed" element if failed).

Improvements welcome.
13 years ago
Michael DeHaan 3c3111c1f3 Add optional hosts parameter to examples to show how we can
override the host file in a playbook to load different groups
of hosts.
13 years ago
Michael DeHaan cb90df2377 Allow multiple patterns to specified, just like Func did. 13 years ago
Michael DeHaan 70ec508ee0 don't check in manpage output file 13 years ago
Michael DeHaan af74f53230 Merge branch 'master' of github.com:mpdehaan/ansible 13 years ago
Michael DeHaan 6b433239e6 Update README.md 13 years ago
Michael DeHaan b44ae0af90 applying indentation patch from skvidal 13 years ago
Michael DeHaan a5039eec62 Update reporting on playbook runs. 13 years ago
Michael DeHaan ed97125025 Merge branch 'master' of github.com:mpdehaan/ansible
Conflicts:
	TODO.md
13 years ago
Michael DeHaan 79fdc1b6f4 Notifable handlers only run when something is changed. Awesome. 13 years ago
Michael DeHaan 90eba11f27 Update TODO.md 13 years ago
Michael DeHaan de80166b6d Misc refactoring, updated TODO to reflect new templating features being completed 13 years ago
Michael DeHaan ba9468266f Can it get an easier? Yes it can! Further simply playbook format. 13 years ago
Michael DeHaan 6d0fd2bfde Compress the playbook format for readability 13 years ago
Michael DeHaan b053df4182 Some refactoring of runner.py -- more to come to eliminate repeated code 13 years ago
Michael DeHaan 6cceaa5f6a Implment copy with an actual minion-side module such that we can get md5sum's and
onchange events like Puppet's file providers do.
13 years ago