Commit Graph

90 Commits (0.01)

Author SHA1 Message Date
Tim Bielawa 95502c3089 Adding version and author to ansible init.
14 years ago
Michael DeHaan 8e20ed3714 src= parameters for template and copy operations can be relative to the playbook (for /usr/bin/ansible-playbook) or current directory (for /usr/bin/ansible)
14 years ago
Michael DeHaan 7eedc3fb1a Breakout includes into seperate functions, allow vars to apply to handlers but handlers
14 years ago
Michael DeHaan 85e0de5bb2 Move print statements out of playbook.py and back into CLI so we can simplify playbook operations
14 years ago
Michael DeHaan 0935506d6f Templating as non-root should not require passing in the metadata= parameter.
14 years ago
Michael DeHaan 4ee4ddcd7c Parameterized include statements can see top level variables and also be passed specific variables!
14 years ago
Michael DeHaan 8d57ceecf1 Factoids and push variables via setup are now available to be templated in command args
14 years ago
Tim Bielawa f2c2786a14 Update constants.py to pull module path and the hosts file from the
14 years ago
Tim Bielawa b190ea4b62 Fix parse_hosts to not blow up on ungrouped hosts.
14 years ago
Michael DeHaan fae3a71899 WIP on async tests
14 years ago
Michael DeHaan 369b9cde1c Add test for template module and make 'dark' errors clearer if we get output back and the JSON
14 years ago
Michael DeHaan 8d06c074b1 * Added uptime.py as an example of somewhat minimal API usage & reporting
14 years ago
Michael DeHaan db57933614 Allow ":" to be used to split patterns as well as ";" so if you are just 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.
14 years ago
Michael DeHaan 45c40524ef Time limit needs to be passed to async_wrapper.
14 years ago
Michael DeHaan eaa7714ff8 Laying the groundwork for async mode, async status script still needs to be done, and async_wrapper
14 years ago
Michael DeHaan ab408b0000 Ability to import task lists and handler lists from a top level playbook file. It is possible
14 years ago
Michael DeHaan cbfabcd0fb Add -i, -k, and -M to ansible-playbook CLI to match options in /usr/bin/ansible
14 years ago
Michael DeHaan e4304a0ac5 Make sure tempdirs are cleaned up after execution steps, fix notifiers, make sure
14 years ago
Michael DeHaan 6541f338df add pyflakes target & associated fixes. Also decided to save JSON to --tree file so it can
14 years ago
Michael DeHaan 3ad9db4966 Some minor from 'pep8', and silencing the PEP8 messages I don't care about.
14 years ago
Michael DeHaan 0d7a84d591 Some minor refactoring of playbook code, more to go.
14 years ago
Michael DeHaan c57df6220b Add pydoc to playbook binary, fix default types for playbook '.get()' call
14 years ago
Michael DeHaan 34cbbfbfe1 Added pydoc for utils.py
14 years ago
Michael DeHaan e9a24cdad4 Extensive refactoring of bin/ansible, moving most output functions into lib/ansible/utils to
14 years ago
Michael DeHaan e6a1acf756 Let "all" be an alias for "*" in patterns, fix output bug on non-command execution, make clean now removes the build dir
14 years ago
Michael DeHaan 5040c01640 rename 'pattern' to 'hosts' in playbook format.
14 years ago
Michael DeHaan 687a315a80 Increasing default --forks to 5
14 years ago
Michael DeHaan 847846af0e -p has been replaced by a required option. Various docs changes.
14 years ago
Michael DeHaan bed29b7e11 Allow the /etc/ansible/hosts file to contain groups and those group names to be used in place
14 years ago
Christopher Johnston d15172abdc add a -T option for setting ssh timeout in seconds
14 years ago
Christopher Johnston 2773234c3f python 2.5 does not include json so lets try to use simplejson
14 years ago
Michael DeHaan ab266472be Trim errors on connection refused messages
14 years ago
Michael DeHaan a40ac93716 Plan to merge things back into ansible means we can simplify our code tree
14 years ago
Michael DeHaan 430f38d54c minor option consistency
14 years ago
Michael DeHaan ab17f6f44e Because I can't remember which options are supposed to be uppercase and which are not,
14 years ago
Michael DeHaan de1d0011bc Take darkened hosts out of the playbook rotation, fix error handling in template
14 years ago
Michael DeHaan 01e5da6d0b Make /bin/ansible use the common options from lib/ansible/scripts
14 years ago
Michael DeHaan fb531a8dfa Minor option string relabelling, move one option from common into helper script
14 years ago
Michael DeHaan 7de661dd2c Add ansible command, fix import error in runner
14 years ago
Michael DeHaan 0321afb1e3 Minor error handling tweaks (yell if no args) for ansible-command and some minor
14 years ago
Michael DeHaan a3a426b4c5 Add GPLv3 license headers to new files. Approved by all contributors on mailing list.
14 years ago
Michael DeHaan 5eea593af5 Merge branch 'master' of github.com:mpdehaan/ansible
14 years ago
Michael DeHaan be4cb64c92 Relicensing to GPLv3, all previous committers ok'd on mailing list.
14 years ago
Michael DeHaan 0ed3e87792 Merge pull request #40 from skvidal/master
14 years ago
Seth Vidal 95706af074 ans-command and scripts.py for the basic cli parser to be imported elsewhere
14 years ago
Michael DeHaan 1caafb7bd9 Stop evaluating a host in a playbook when it encounters the first failure.
14 years ago
Seth Vidal 85f751175d - make tmp_path be a dir so we can put more than one command in there securely
14 years ago
Seth Vidal bd7a71bb29 implement manual multiprocessing pools for the runner.
14 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
14 years ago
Michael DeHaan f7cff27f3d Drastically simply playbook syntax
14 years ago