Fix included task's name in handler (#33821)

This commit is contained in:
Martin Krizek 2017-12-12 17:52:01 +01:00 committed by GitHub
parent 73abde399c
commit 5a5f4b7fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -813,7 +813,7 @@ class StrategyBase:
for task in block.block:
result = self._do_handler_run(
handler=task,
handler_name=None,
handler_name=task.get_name(),
iterator=iterator,
play_context=play_context,
notified_hosts=included_file._hosts[:],