Commit Graph

11 Commits (92e400eb6d8063711e090722b9a2e3bd0bd39c43)

Author SHA1 Message Date
James Cammarata 785c0c0c8c V2 fixing bugs 2015-04-02 01:19:21 -05:00
James Cammarata f12695f287 Add run_once/BYPASS_HOST_LOOP feature in v2 2015-03-04 13:52:31 -06: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 62d79568be Creating playbook executor and dependent classes 2014-12-29 10:46:47 -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