James Cammarata
3aede800c5
Fixing winrm connection for v2
2015-04-27 00:28:43 -05:00
James Cammarata
7669a0b275
Fixing some v2 bugs
2015-04-21 12:02:40 -05:00
James Cammarata
c58aaf72fc
Properly handle lack of stdout in results in v2
...
Fixes #10549
2015-04-21 09:48:56 -05:00
James Cammarata
d600c65095
Fix fetch action plugin in v2 to use the inventory_hostname in the dest dir
...
Fixes #10736
2015-04-20 11:16:35 -05:00
Toshio Kuratomi
01df51d2ae
Improve the API for connection plugins and update local and ssh to use it
2015-04-15 16:32:44 -07:00
Michael Scherer
2d9097e025
Fix the filename in error message (pylint)
2015-04-14 19:13:27 -04:00
Toshio Kuratomi
7133d6361f
Merge pull request #10691 from ianzd/python3
...
Change how we're calling StringIO
2015-04-13 13:36:22 -07:00
Toshio Kuratomi
5dce745868
Merge pull request #10690 from momandine/print_function
...
Print function
2015-04-13 13:35:04 -07:00
Ian Dotson
d85f97ccfd
Change how we're calling StringIO since we're now importing the class rather than a module.
2015-04-13 16:31:16 -04:00
Amandine Lee
683c2913c5
Use print function
2015-04-13 13:28:27 -07:00
Amandine Lee
3d2a056ad4
Import futures including print
2015-04-13 13:28:01 -07:00
ian
1bdf0bb0d6
Several more changes to suport python3 syntax.
2015-04-13 15:37:25 -04:00
ian
6747f82547
Change exceptions to python3 syntax.
2015-04-13 12:35:20 -04:00
Brian Coca
d732c94ac2
a bunch of updates to connection info and related, to pass down passwords
...
also now options populate required fields in required order allowing play to override
added capture of debug in action plugins when stdout is not json
2015-04-06 22:35:02 -04:00
James Cammarata
e82ba723e2
Fixing multiple v2 bugs
2015-04-05 01:07:47 -05:00
Brian Coca
e719bf765d
switched to use cross platform os.sep, added diff output to copy
2015-04-03 09:20:19 -04:00
Brian Coca
25f071b64c
fixed called to find plugin, transport is not needed as suffixes are passed
2015-04-03 00:01:32 -04:00
James Cammarata
469a1250b6
Moving new patch action plugin over to v2
2015-04-02 16:22:07 -05:00
James Cammarata
811a906332
Fixing the synchronize action plugin for v2
2015-04-02 11:54:45 -05:00
Toshio Kuratomi
43c1a97447
Various unicode and backslash escape cleanups
...
* Do backslash escape parsing in parse_kv() [was being done in the copy
module purely for newlines in the copy module's content param before]
* Make parse_kv always return unicode
* Add bandaid to transform args to unicode until we can fix things
calling parse_kv to always send it unicode.
* Make split_args deal with unicode internally. Warning, no bandaid for
things calling split_args without giving it unicode (shouldn't matter
as dealt with str internally before)
* Fix copy and unarchive action plugins to not use setdefaultencoding
* Remove escaping from copy (it was broken and made content into latin-1
sometimes). escaping is now in parse_kv.
* Expect that content is now a unicode string so transform to bytes just
before writing to the file.
* Add initial unittests for split_args and parse_kv. 4 failing
tests.because split_args is injecting extra newlines.
2015-03-30 19:19:34 -07:00
Toshio Kuratomi
1cc2135a0d
Fix no closed parens
2015-03-30 19:15:41 -07:00
Brian Coca
9d3a63945d
moved pipeline check to class var that was previouslly added
2015-03-21 00:48:38 -04:00
James Cammarata
316284c56b
Making blocks support become, and cleaning up sudo/su references
2015-03-17 10:35:46 -05:00
James Cammarata
22304afd1d
More fixing of become stuff in v2
2015-03-13 15:31:20 -05:00
James Cammarata
070c7c319f
Started implementing become in v2
2015-03-13 11:58:00 -05:00
Toshio Kuratomi
affb66416f
Port fix for #10300 to v2
2015-02-25 11:26:43 -08:00
Toshio Kuratomi
01a6081b49
First swing at making module_common.py more v2-ish
2015-02-10 12:36:23 -08:00
James Cammarata
31dd75de59
Fixing many bugs in v2
...
* delegate_to rudimentary support (still needs much more work)
* lots of other things
2015-02-09 16:56:38 -06:00
James Cammarata
b6a34518ad
Fixing checkmode support and some other things in v2
2015-01-28 13:21:52 -06:00
James Cammarata
a6d6a89ad1
More work on v2, fixing bugs and getting integration tests running
2015-01-15 16:57:19 -06:00
James Cammarata
02bc014bcd
More work on getting integration tests running for v2
2015-01-15 01:14:22 -06:00
James Cammarata
2aeb79f45f
Starting work on getting integration tests working on v2
...
This is incomplete work, and requires some minor tweeks to the integration
tests which are not included in this commit.
2015-01-12 16:07:01 -06:00
James Cammarata
1544dde932
Moving over all lookup plugins to v2
2015-01-09 09:37:45 -06:00
James Cammarata
63c2d616e7
Starting to move over lookups and fixing some bugs related to that
2015-01-08 10:52:14 -06:00
James Cammarata
065733ad93
Moving more action plugins over and fixing some bugs with role loading
2015-01-07 10:48:33 -06:00
James Cammarata
62d79568be
Creating playbook executor and dependent classes
2014-12-29 10:46:47 -06:00
Toshio Kuratomi
18f30b00ba
Add python3-compat boiler to all core files
2014-10-15 19:22:54 -04:00
Michael DeHaan
da01eef4db
Move v2 out of the package tree so it does not yet appear.
2014-10-02 13:47:25 -04:00