From b5f3e84014f0c9fa88b5bd0ce5371d7306e22992 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 8 Jul 2015 22:45:01 -0400 Subject: [PATCH] now allows for empty vars sections, returns empty dict fixes #11532 --- lib/ansible/playbook/play.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index c3d9aea06ba..a7ea0c145db 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -162,6 +162,8 @@ class Play(Base, Taggable, Become): raise ValueError all_vars = combine_vars(all_vars, item) return all_vars + elif ds is None: + return {} else: raise ValueError except ValueError: