mirror of https://github.com/jumpserver/jumpserver
fix: ansible task 500
parent
6b333adc05
commit
681988f450
|
@ -262,7 +262,7 @@ class BasePlaybookManager:
|
|||
info = self.file_to_json(runner.inventory)
|
||||
servers, not_valid = [], []
|
||||
for k, host in info['all']['hosts'].items():
|
||||
jms_asset, jms_gateway = host['jms_asset'], host.get('gateway')
|
||||
jms_asset, jms_gateway = host.get('jms_asset'), host.get('gateway')
|
||||
if not jms_gateway:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue