James Cammarata
b1d78a61fc
Initial support for vault in v2
...
TODO:
* password prompting needs to be implemented, but is being worked on
as part of the become privilege escalation changes
2015-03-12 12:14:57 -05:00
James Cammarata
ca4c5a14bb
Fixing bug related to dynamic includes + with* loops
2015-03-04 13:52:32 -06:00
James Cammarata
d0cfcdbc4d
Getting dynamic includes working a bit better on v2
2015-03-04 13:52:31 -06:00
James Cammarata
f12695f287
Add run_once/BYPASS_HOST_LOOP feature in v2
2015-03-04 13:52:31 -06:00
James Cammarata
4af2d0a907
Reworking v2 play iterator and fixing some other bugs
...
Still not working quite right:
* dynamic includes are not adding the included tasks yet
* running roles with tags not quite working right
2015-03-04 13:52:31 -06:00
Toshio Kuratomi
07a7353a2c
Port changes from #10372 fixing checksumming on csh and backslashes in filenames to v2
2015-03-02 16:08:08 -08:00
Brian Coca
893f1326fc
Merge pull request #10114 from bcoca/v2_url_lookup
...
v2: added draft url lookup
2015-02-26 23:53:07 -05:00
Brian Coca
5a64b2e269
Merge pull request #10305 from bcoca/cartesian
...
Cartesian
2015-02-26 23:25:33 -05:00
Toshio Kuratomi
affb66416f
Port fix for #10300 to v2
2015-02-25 11:26:43 -08:00
Alvaro Lopez Ortega
2dc910bd14
Fixes bug #10225 - Runtime error
...
Prevents an exception from raising in some corner cases where SSH might
be misconfigured. It seems not to fix a specific problem, although it
makes the method a little bit more solid.
2015-02-21 22:36:03 +01:00
Brian Coca
5d946ec4f2
adds cartesian product lookup
2015-02-20 09:04:00 -05:00
Toshio Kuratomi
77731440f3
Optimize the plugin loader.
...
We have been caching the paths to the plugins but before we would only
cache the specific plugin that we were looking for. This meant that we
might search through all of the plugin directories before finding the
specific module we were interested in. The next plugin we needed we
might again search through all the plugin directories before finding the
plugin we wanted.
This new code will cache all the potential plugins in each directory
searched. For a play that only uses one plugin we'll only search
through directories until we encounter the directory that has the proper
plugin. For a large playbook with many plugins used we'll search
through each directory at most once each.
From v1: 68e86de26f
730c2ba403
2015-02-18 08:12:01 -08:00
Toshio Kuratomi
55e26db290
Support nested modules with ANSIBLE_LIBRARY env var
...
From v1: 4c2d06d2fe
2015-02-18 08:07:57 -08:00
James Cammarata
995aa8e24b
Making task includes dynamic and fixing many other bugs
...
Dynamic task includes still need some work, this is a rough first version.
* doesn't work with handler sections of playbooks yet
* when using include + with*, the insertion order is backwards
* fix potential for task lists to be unsynchronized when using the linear
strategy, as the include conditional could be predicated on an inventory
variable
2015-02-12 18:17:16 +00: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
Toshio Kuratomi
8f06ba2bc1
Port https://github.com/ansible/ansible/pull/10162 (py-2.4 compat fix) to v2 tree
2015-02-04 09:46:25 -08:00
Toshio Kuratomi
b2c7b911bc
v2/plugins/filter is now a symlink as it does not differ between v1 and v2
2015-02-02 10:25:09 -08:00
Toshio Kuratomi
03e213a272
Change the v2 filter plugins into a symlink to v1 as the plugins are the same for both
2015-02-02 10:25:09 -08:00
James Cammarata
c978c77796
Fixing more v2 bugs
2015-01-29 16:44:01 -06:00
James Cammarata
b6a34518ad
Fixing checkmode support and some other things in v2
2015-01-28 13:21:52 -06:00
Brian Coca
2fa9a0958a
v2: added draft url lookup
2015-01-27 18:29:16 -05:00
Toshio Kuratomi
d3666f3265
Make py2.4 remote checksum large-file-enabled as well
2015-01-26 21:44:42 -08:00
James Cammarata
bbd08cd0e2
Fixing more v2 issues with integration tests
2015-01-26 23:41:19 -06:00
Toshio Kuratomi
6f5d18a20e
Merge pull request #10087 from axos88/devel
...
fix checksum calculation for large files
2015-01-26 21:40:09 -08:00
James Cammarata
71e774e8bf
Implementing playbook-level includes and getting includes integration test working
2015-01-26 11:30:30 -06:00
Akos Vandra
03fa421f3f
do not use with, it is not supported all the way down to 2.4
2015-01-25 18:42:59 +01:00
Akos Vandra
e8144b3b90
fixes #10086
2015-01-25 14:51:01 +01:00
Toshio Kuratomi
364f772cc5
Fix quoting of shell parameters used in remote_checksum and add integration test to detect the error
...
Fixes #682
2015-01-22 12:33:06 -08:00
James Cammarata
c60c295ada
Adding more fixes for integration testing under v2
2015-01-19 16:18:46 -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
b4dfcc2d28
Start laying out how the pieces of code that parse inventory information into ansible will work
2014-12-09 13:52:42 -06:00
James Cammarata
229d49fe36
Adding new playbook objects for v2
...
* Playbook
* TaskInclude
2014-11-05 21:13:47 -06:00
James Cammarata
11822f0d57
Adding VariableManager class for v2
2014-11-03 13:51:18 -06:00
James Cammarata
1d04e4b3d2
Updating unittests for v2 stuff
2014-10-15 18:02:45 -07:00
Toshio Kuratomi
eafa718be1
Remove inherit from object as it's no longer needed to determine new-style classes
2014-10-15 19:37:29 -04:00
Toshio Kuratomi
18f30b00ba
Add python3-compat boiler to all core files
2014-10-15 19:22:54 -04:00
Michael DeHaan
e66a0096a7
Work in progress on task loading.
2014-10-06 16:29:18 -04:00
Michael DeHaan
f066e361f1
WIP on data structure processing patterns.
2014-10-06 16:29:18 -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