James Cammarata
8cf4452d48
Fix module arg parsing when 'args' are present but not a dict (v2)
2015-05-02 22:17:02 -05:00
James Cammarata
a87d889182
Generalize plugin enumeration a bit (v2)
2015-05-02 01:34:03 -05:00
James Cammarata
f310d13280
Make sure all plugin loaders are loaded from roles and shared correctly (v2)
2015-05-01 23:48:47 -05:00
James Cammarata
4e08064afa
Fix issue where included blocks were not filtered on tags (v2)
2015-05-01 08:32:43 -05:00
Brian Coca
fec9b8a5ad
Merge pull request #10885 from bcoca/galaxy_v2
...
revamped base CLI and moved galaxy to it's own classes/api
2015-04-30 16:43:08 -04:00
James Cammarata
aafda44bb3
Add play to the parent object structures for inheritence in v2
2015-04-30 11:14:01 -05:00
Brian Coca
4e85419257
Merge pull request #10853 from cgar/spelling
...
just a few spelling error changes
I swear only 95% of those are mine!
2015-04-30 09:02:09 -04:00
Brian Coca
950aa8511a
no exceptions with less than 3 'v's
2015-04-29 10:51:15 -04:00
James Cammarata
4bb37b82c4
Fix duplicate callback issue in v2
...
All v2+ callbacks can now optionally define a CALLBACK_TYPE, which
when set to 'stdout' will limit those callbacks which are used for
primary output to a single callback plugin (specified to the
TaskQueueManager object and configurable in ansible.cfg/environment)
2015-04-29 01:09:27 -05:00
Toshio Kuratomi
bf003d31e0
Not a full port to v2's api, just a few fixups
2015-04-28 10:39:30 -07:00
Carlos E. Garcia
cfbfd38723
just a few spelling error changes
2015-04-28 09:36:42 -04:00
Toshio Kuratomi
5034a2c702
Use six to import urlparse
2015-04-27 08:50:04 -07:00
Toshio Kuratomi
ed2e6fc8fa
Restore python3 fixups
2015-04-27 08:46:26 -07:00
Toshio Kuratomi
af2dff9cfb
Restore the python3-compat import __future__ and Exception as update.
2015-04-27 08:33:29 -07:00
James Cammarata
3aede800c5
Fixing winrm connection for v2
2015-04-27 00:28:43 -05:00
James Cammarata
8574d40b98
Initial work to make paramiko connections work under v2
2015-04-24 02:47:56 -04:00
James Cammarata
8c08f1b302
Updating connection plugins not yet updated in v2 to catch new code
2015-04-23 18:54:48 -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
Michael Scherer
cd25e0fba0
Fix C.ANSIBLE_SSH_CONTROL_PATH string interpolation
...
Since C.ANSIBLE_SSH_CONTROL_PATH use the old format
( "%{directory}" ), we need to use the % operator
and not the format method, at least for python 2.
2015-04-19 00:06:50 -04: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
Martin Chlumsky
45247eb4b3
Use abc for BaseCacheModule
2015-04-15 13:09:59 -04:00
James Cammarata
02e7385002
Filter tasks based on tags during iterator setup in v2
2015-04-15 01:17:02 -05:00
Toshio Kuratomi
460dc5e4db
Fix errors import
2015-04-14 19:56:17 -07:00
Toshio Kuratomi
719d01067e
Use six to assign metaclass for py2 and py3 compat
2015-04-14 19:43:23 -07:00
Toshio Kuratomi
c0f6712a37
Merge pull request #10719 from mscherer/fix_error_action_v2
...
Fix the filename in error message (pylint)
2015-04-14 19:22:19 -07:00
James Cammarata
9097274fe0
Fixing minimal callback for v2 to use the new api
2015-04-14 21:11:12 -05:00
Michael Scherer
2d9097e025
Fix the filename in error message (pylint)
2015-04-14 19:13:27 -04:00
Toshio Kuratomi
b4437ebd9a
Merge pull request #10713 from mscherer/fix_shell_plugin_import_v2
...
Rename the import, since the directory was renamed for v2
2015-04-14 15:17:55 -07:00
Toshio Kuratomi
8134ffeb1f
Merge pull request #10712 from mscherer/fix_v2_sh_plugin
...
Add missing imports. They are used later in mkdtmp, needed by action plu...
2015-04-14 15:17:19 -07:00
Michael Scherer
570f9db6bf
Add/correct missing imports for AnsibleError in v2 lookup plugins
2015-04-14 17:42:57 -04:00
Michael Scherer
674d1e72f6
Rename the import, since the directory was renamed for v2
2015-04-14 17:05:02 -04:00
Michael Scherer
c0c115317a
Add missing imports. They are used later in mkdtmp, needed by action plugins
2015-04-14 16:56:35 -04:00
Michael Scherer
1566a90fcd
Fix the exception name ( AnsibleParserError, not AnsibleParsingError )
2015-04-14 16:36:39 -04:00
Amandine Lee
164cfdfda4
Fix typo
2015-04-13 14:28:00 -07:00
Amandine Lee
08feaea077
Fix plugin imports with six
2015-04-13 14:04:31 -07: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
4bc79a746a
more fine tunnign on verbosity
2015-04-04 16:26:05 -04: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
0f8bc038ec
changed to use display as utils.warning doesnt exist in v2
2015-04-03 00:25:09 -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