コード例 #1
0
ファイル: api.py プロジェクト: webknjaz/ansible-navigator
 def run(self):
     """run"""
     self.generate_run_command_args()
     self._runner_args.update({"event_handler": self._event_handler})
     thread, _runner = run_command_async(**self._runner_args)
     self.status = "running"
     return thread
コード例 #2
0
 def run(self):
     """Initiate the execution of the runner command in async mode"""
     self.generate_run_command_args()
     self._runner_args.update({"event_handler": self._event_handler})
     thread, self.ansible_runner_instance = run_command_async(
         **self._runner_args)
     self.status = "running"
     return thread