From a1c38a3fda93f5ef77122999bbe96c77a98cef14 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Sat, 26 Sep 2015 11:10:23 -0400 Subject: [PATCH] Adding delegate_to to Blocks --- lib/ansible/playbook/block.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/playbook/block.py b/lib/ansible/playbook/block.py index d6337d32d2..395f36bf02 100644 --- a/lib/ansible/playbook/block.py +++ b/lib/ansible/playbook/block.py @@ -33,6 +33,7 @@ class Block(Base, Become, Conditional, Taggable): _block = FieldAttribute(isa='list', default=[]) _rescue = FieldAttribute(isa='list', default=[]) _always = FieldAttribute(isa='list', default=[]) + _delegate_to = FieldAttribute(isa='list') # for future consideration? this would be functionally # similar to the 'else' clause for exceptions