Skip to content

Commit

Permalink
Fix a coding bug caused by a missing attribute (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanoor authored Feb 1, 2023
2 parents 77400b1 + a5d0205 commit 4a3c993
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ansible_rulebook/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def __init__(
project_data_file: Optional[str] = None,
parsed_args=None,
):
self.pa_runner = PlaybookActionRunner()
self.pa_runner = PlaybookActionRunner(event_log)
self.pa_runner_task = None
self.action_loop_task = None
self.event_log = event_log
Expand Down Expand Up @@ -456,7 +456,8 @@ class PlaybookActionRunner:
run_playbook, run_module, and run_job_template.
"""

def __init__(self):
def __init__(self, event_log):
self.event_log = event_log
self.actions = asyncio.Queue()
self.result = None
self.stopped = True
Expand Down

0 comments on commit 4a3c993

Please sign in to comment.