Commit Graph

23 Commits (b193d327b616da2774ce4293aa52539fbd61b6ef)

Author SHA1 Message Date
James Cammarata 0603b9c62c Merge branch 'v2_fixing' into devel
Conflicts:
	v2/ansible/playbook/helpers.py
2015-04-02 01:25:53 -05:00
James Cammarata 785c0c0c8c V2 fixing bugs 2015-04-02 01:19:21 -05:00
Toshio Kuratomi bc69ad8147 Rename munge methods to preprocess_data.
Remove the call to preprocess_loop data from playbook_include as
includes can't be used with loops.
2015-03-23 18:42:28 -07:00
James Cammarata 93c9803818 Removing some leftover debug prints and cleaning up test sample 2015-03-20 23:25:21 -05:00
James Cammarata 393246fdd3 Make v2 playbook class attributes inheritable
Also fixing some other become-related things
2015-03-20 14:15:12 -05:00
James Cammarata 316284c56b Making blocks support become, and cleaning up sudo/su references 2015-03-17 10:35:46 -05:00
James Cammarata 070c7c319f Started implementing become in v2 2015-03-13 11:58:00 -05: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
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
James Cammarata c60c295ada Adding more fixes for integration testing under v2 2015-01-19 16:18:46 -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 7f7e9914aa Changing tag evaluation method to match when conditional method 2014-12-29 23:30:37 -06:00
James Cammarata 62d79568be Creating playbook executor and dependent classes 2014-12-29 10:46:47 -06:00
James Cammarata 24bebd85b4 Adding v2 task/block iterator and some reorganizing 2014-11-08 01:44:21 -06:00
James Cammarata 229d49fe36 Adding new playbook objects for v2
* Playbook
* TaskInclude
2014-11-05 21:13:47 -06:00
James Cammarata 0ed9746db3 Adding Play class for v2 2014-11-04 15:16:53 -06:00
James Cammarata 3b0e64127d Refactoring role spec stuff into a dedicated parsing class
Also reworking tests to cut down on the number of patches required
by sub-classing the DataLoader() class and reworking the base object's
structure a bit to allow its use
2014-10-30 12:42:06 -05:00
James Cammarata b0069a338e Overhauls to v2 code
* using inspect module instead of iteritems(self.__class__.__dict__, due
  to the fact that the later does not include attributes from parent
  classes
* added tags/when attributes to Base() class for use by all subclasses
* removed value/callable code from Attribute, as they are not used
* started moving some limited code from utils to new places in v2 tree
  (vault, yaml-parsing related defs)
* re-added ability of Block.load() to create implicit blocks from tasks
* started overhaul of Role class and role-related code
2014-10-20 13:11:20 -05:00
Michael DeHaan a60fd58145 Update block.py
Add note on block properties
2014-10-19 10:48:32 -04:00
James Cammarata 57d2622c8c Adding block code and tests 2014-10-16 16:03:29 -05: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