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
This commit is contained in:
James Cammarata
2015-02-26 09:51:12 -06:00
parent fbc525cfb6
commit 4af2d0a907
28 changed files with 430 additions and 418 deletions

View File

View File

@@ -0,0 +1 @@
- debug: msg="this is a task from the common role"

View File

@@ -0,0 +1,2 @@
dependencies:
- common

View File

@@ -0,0 +1 @@
- debug: msg="this is a task from role A"

View File

@@ -0,0 +1,2 @@
dependencies:
- common

View File

@@ -0,0 +1 @@
- debug: msg="this is a task from role B"

View File

@@ -0,0 +1,2 @@
dependencies:
- test_role_dep

View File

@@ -1 +1,3 @@
- debug: msg="here we are in the role, foo={{foo}}"
- fail:
when: foo != "bar"

View File

@@ -0,0 +1 @@
- debug: msg="here we are in the role dependency"