Commit Graph

17058 Commits (a766044b26612f2aaf12e44b4ebc46b4aa195072)
 

Author SHA1 Message Date
Seth Vidal 160470bc49 - add match_hosts() method to runner.Runner()
- add pattern parameter to self._matches() and match_hosts() so you can query
  for matches against the host list
- these are useful when writing scripts and you want to tell the user
  what hosts you will be running on before  actually executing anything.
13 years ago
Seth Vidal edb9683050 touch up the example API code 13 years ago
Seth Vidal ee95a5b0a4 use shlex.split() instead of split() to keep quoting sane for commands 13 years ago
Seth Vidal 8d555ff51c Merge remote-tracking branch 'upstream/master'
* upstream/master: (2 commits)
  Added idea about how to do async + timeout in modules
  ...
13 years ago
Seth Vidal e7bb41ff89 simple logging setup using logger.
/usr/bin/logger should probably be a constant or defined in some sort of config as well as the log priority
13 years ago
Michael DeHaan 0de9f0b28e Added idea about how to do async + timeout in modules 13 years ago
Michael DeHaan 6bfc275204 update TODO with ideas for playbook and latest plans 13 years ago
Michael DeHaan e25bb2f888 Upgrade output for playbook runs 13 years ago
Michael DeHaan ee2fa721f1 Kinda have to pass the host list parameter 13 years ago
Michael DeHaan 9e931f323c Update ohai module to run on older python clients. 13 years ago
Michael DeHaan f17c4ca4b2 Added an 'ohai' module. Some weird JSON hackage to get it to work. 13 years ago
Michael DeHaan c8fe53c4b9 Update README.md to reflect that this is a tool, not just an API. Though
the API is important.
13 years ago
Michael DeHaan b0d2739baa Merge pull request #6 from tbielawa/manpage
Because everything should have a man page
13 years ago
Tim Bielawa f0b0211772 Because everything should have a man page 13 years ago
Tim Bielawa 4caf9d274b Fix tbielawa email in AUTHORS file 13 years ago
Michael DeHaan 43f7dee247 Added rough sketch of what I want for playbook support. Debug heavy at the moment
as I figure out how logging/output might look.  A couple of major TODO features
also listed in the file.
13 years ago
Michael DeHaan 2fc109b47a Credit Tim for last patch. 13 years ago
Michael DeHaan 767517ac65 Force forks to be an integer when read by command line 13 years ago
Michael DeHaan 7730341d24 We don't have modules that list when things change just yet. I plan to handle
this by having a changed=True/False in the JSON for these modules.  Added a note
so folks won't think we can only execute shell :)
13 years ago
Michael DeHaan 0095336a4e Update API docs for runner 13 years ago
Michael DeHaan d079c8e5f3 Move runner out of __init__.py so it's clear what classes live where. 13 years ago
Michael DeHaan 6eda2cf383 Added initial stub for where playbooks will go, moved to common
constants file so as to not repeat constants between CLI and lib.
13 years ago
Michael DeHaan be9fdc8ef1 Add Seth to authors file. 13 years ago
Michael DeHaan b2e8084c50 Merge pull request #4 from skvidal/master
adds an option to ask for and store the ssh password from the cli
13 years ago
Michael DeHaan a021020967 Merge pull request #3 from katzj/no-shell
Don't use a shell and thus avoid a whole class of problems
13 years ago
Michael DeHaan 0ac8e565c2 Merge pull request #2 from katzj/non-root-mktemp
Use a mktemp'd path for uploading modules
13 years ago
Seth Vidal 08b45d6da1 add support to prompt for ssh password on the cli 13 years ago
Jeremy Katz 24e10dc2e8 Don't use a shell and thus avoid a whole class of problems 13 years ago
Jeremy Katz 25df80ff58 Use a mktemp'd path for uploading modules 13 years ago
Michael DeHaan bd37864242 Comments and fixup on the dark/contacted code 13 years ago
Michael DeHaan 11f7930038 trim unused modules 13 years ago
Michael DeHaan 4a891b4108 Merge branch 'master' of github.com:mpdehaan/ansible 13 years ago
Michael DeHaan 659c0efd72 Add authors file to list contributors 13 years ago
Michael DeHaan 6bebedd7eb Merge pull request #1 from katzj/centos5-simplejson
Fall back to standalone simplejson module
13 years ago
Michael DeHaan 7be8d134c9 Rename 'successful' to 'contacted' ... 13 years ago
Michael DeHaan 530e54b3e4 Fix multiprocessing pool usage and remove stackoverflow hack 13 years ago
Michael DeHaan 4608a93de5 Added docs on split success/failure structures 13 years ago
Michael DeHaan 7ce5db97ed Add explicit calls to close connections 13 years ago
Michael DeHaan e0e98d10ce use readlines on stdout so we'll block on long running commands 13 years ago
Michael DeHaan 7eb2dd2dee Add remote setting to file, update TODO 13 years ago
Michael DeHaan 03647d64e9 Update docs, added TODO.md 13 years ago
Michael DeHaan 3da6370a65 use defaults better, improve/fix setup.py 13 years ago
Michael DeHaan 2c873a4467 Adding setup.py 13 years ago
Jeremy Katz ef8ea13495 Fall back to standalone simplejson module
CentOS5 has python 2.4 which doesn't have a built-in json
module
13 years ago
Michael DeHaan 9681e1fa04 Add MIT license headers 13 years ago
Michael DeHaan cb7fb52736 Added copy to list of modules, though it's not really a true module. Added more idea notes. 13 years ago
Michael DeHaan a2a8deaeaa Added command module 13 years ago
Michael DeHaan f4fca1069a doc updates 13 years ago
Michael DeHaan 3807824c6d Added file copy support w/ readme updates 13 years ago
Michael DeHaan 83d15afc6f readme updates 13 years ago