Make sure we skip handlers from includes in compile_roles_handlers. Fixes #44848 (#44852)

This commit is contained in:
Matt Martz 2018-08-29 15:05:55 -05:00 committed by GitHub
commit d5ed818e7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -239,6 +239,8 @@ class Play(Base, Taggable, Become):
if len(self.roles) > 0:
for r in self.roles:
if r.from_include:
continue
block_list.extend(r.get_handler_blocks(play=self))
return block_list