mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Allow handler files to be empty lists.
This commit is contained in:
@@ -101,6 +101,10 @@ class Play(object):
|
||||
''' handle task and handler include statements '''
|
||||
|
||||
results = []
|
||||
if tasks is None:
|
||||
# support empty handler files, and the like.
|
||||
tasks = []
|
||||
|
||||
for x in tasks:
|
||||
task_vars = self.vars.copy()
|
||||
task_vars.update(vars)
|
||||
|
||||
Reference in New Issue
Block a user