Update lib/ansible/plugins/strategy/__init__.py

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
pull/82212/head
Jordan Borean 7 months ago committed by GitHub
parent 9cdc02beca
commit 24884bc0fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -354,6 +354,8 @@ class StrategyBase:
# import_* tasks should be ignored as they are already handled when
# the play was loaded.
if task.action in C._ACTION_IMPORT_TASKS + C._ACTION_IMPORT_ROLE:
if host.name in self._blocked_hosts:
del self._blocked_hosts[host.name]
return
# Add a write lock for tasks.

Loading…
Cancel
Save