Commit Graph

51 Commits (bcfa6a7865a4461b5240f1bcb57504de4589811d)

Author SHA1 Message Date
Michael DeHaan c0c691089d Fix bug in src. Should not code this early :)
14 years ago
Jeroen Hoekx 903e4f6eae Support dicts in inventory vars.
14 years ago
Michael DeHaan 30d06dbcea Don't force down ansible facts back to setup, the setup module won't like parsing them on input and that
14 years ago
Michael DeHaan da0209dbc4 The fetch module really should preserve the whole directory structure being fetched to allow subsequent calls,
14 years ago
Jeroen Hoekx 6f09b41eb5 Don't test modules that aren't present.
14 years ago
Michael DeHaan 3f26a1c7f6 verbose option is not being used, so remove it. debug variable still exists.
14 years ago
Michael DeHaan 9ce27be878 Remove extra_vars tests
14 years ago
Jeroen Hoekx 8c3206c99f Return a copy of the host variables.
14 years ago
Jeroen Hoekx 961ccdb2f4 List hosts in no group in the ungrouped group.
14 years ago
Jeroen Hoekx 3a24aa9a70 Add YAML inventory format.
14 years ago
Jeroen Hoekx 54f4526160 Export SSH port number as host variable.
14 years ago
Jeroen Hoekx f04041b37d Ignore port numbers in simple inventory format
14 years ago
Jeroen Hoekx 746f1b92ae Reimplement the class method on Runner.
14 years ago
Jeroen Hoekx 195e6d617b Add tests for Inventory class.
14 years ago
Michael DeHaan 08c593bee1 Warn if no hosts matched
14 years ago
Michael DeHaan b9e3b053f9 Simplify playbook tests so things are not timing dependent in the poll section, which is leading to tests
14 years ago
Michael DeHaan e103bdda93 Rename test class to match what it is testing
14 years ago
Michael DeHaan 245aa9bf8e Some tweaks to the fetch module. 'err' return was for stderr, so that should be empty string.
14 years ago
Michael DeHaan 51e4faf7aa Update test file -- we probably should not include the poll as the number of polls is changing between test
14 years ago
Michael DeHaan 1d75a29ec9 Allow variables coming in from the playbook and the API to be expressed as dictionaries throughout their full life cycle
14 years ago
Michael DeHaan eed4a2b717 Update tests to use 127.0.0.2 to bypass the smart "use local connection" code, and also to reflect
14 years ago
Michael DeHaan 2a2b5ed73c Polling timing change results in need to change events file for tests.
14 years ago
Michael DeHaan 4792021f47 Fix syntax error in user patch
14 years ago
Michael DeHaan 2511992659 Surface module debug (-D) to /usr/bin/ansible also
14 years ago
Michael DeHaan 96a22b582b Disable ohai test as it's hanging for whatever reason, but doesn't do this in real life.
14 years ago
Michael DeHaan 3ded27fe35 Treat module args as strings everywhere to avoid unneccessary shlex and requoting
14 years ago
Michael DeHaan 6db87a5018 Minor style fix, update test to match quote fix patch
14 years ago
Michael DeHaan 6dda6f12dc Applying callback model to runner, and using that in playbooks, so output can be more immediate in playbooks.
14 years ago
Michael DeHaan 44d4dede92 Split conditional imports in playbook into subfunction, fix small bug in event reporting on playbook
14 years ago
Michael DeHaan 6ab615c724 Code cleanup for playbooks, also added 'on_skipped' callback
14 years ago
Michael DeHaan 3814a46bbf Move playbook for user commands into examples dir
14 years ago
Michael DeHaan 6aa10691c1 Merge pull request #93 from sfromm/user-module
14 years ago
Stephen Fromm 999bead9ed Add playbook to test user module
14 years ago
Michael DeHaan e6406fa5a7 Allow variable expressions to be stored as variables themselves, do some things to allow setup strings
14 years ago
Michael DeHaan a5f4ca50b8 Ratchet up logging a few notches prior to controlling w/ verbosity settings
14 years ago
Michael DeHaan b5c62ec068 Enhance logging, way to gate verbosity levels pending.
14 years ago
Michael DeHaan dfbe591cc0 Add "only_if" capability, which allows task steps to be skipped if they do not match a conditional.
14 years ago
Michael DeHaan 4de7bbb169 Allow conditional imports, see examples/playbook3.yml comments for a full explanation. Extensive
14 years ago
Michael DeHaan 5ed2b894d9 Add an additional way to dereference a variable in a playbook, $foo
14 years ago
Michael DeHaan c1fe0dd719 Quote long variables in playbooks when feeding them to the setup command
14 years ago
Michael DeHaan 5371a9e497 Regression tests for playbooks, logging the events they call via callbacks.
14 years ago
Michael DeHaan b15c8e9cb1 Playbook test upgrades, made some notes about callbacks we need to add. Still need to compare events
14 years ago
Michael DeHaan 45abe3c16b Add unit tests for playbooks, and fix an error caught by one
14 years ago
Michael DeHaan 4bde4926c3 Modules don't have to return JSON, key=value pairs is ok.
14 years ago
Michael DeHaan 40fd778e2c 'shell' is a magic module that executes the command module with shell=True
14 years ago
Michael DeHaan 73d20b81c6 Add basic test of yum module (VERY basic) just to make sure syntax remains ok. Need to do something
14 years ago
Michael DeHaan 696b67f935 Fix async to use the new argfiles method (wrapping brain around rock, really must write module development guide)
14 years ago
Michael DeHaan cb5929dad7 Setup module tests
14 years ago
Michael DeHaan c71afe35d6 Async tests complete. Fixed bug in async_wrapper
14 years ago
Michael DeHaan fae3a71899 WIP on async tests
14 years ago