Commit 69f723c8 authored by ibuler's avatar ibuler

[Bugfix] requirements 添加openssh-cleints

parent b6b0d6a9
......@@ -34,7 +34,7 @@ def update_assets_hardware_info(result, **kwargs):
"""
result_raw = result[0]
assets_updated = []
for hostname, info in result_raw['ok'].items():
for hostname, info in result_raw.get('ok', {}).items():
if info:
info = info[const.UPDATE_ASSETS_HARDWARE_TASK_NAME]['ansible_facts']
else:
......
......@@ -157,7 +157,8 @@ function bindToCluster(clusters) {
jumpserver.cluster_selected = {};
$(document).ready(function () {
$('.select2').select2();.on('select2:select', function(evt) {
$('.select2').select2()
.on('select2:select', function(evt) {
var data = evt.params.data;
jumpserver.cluster_selected[data.id] = data.text;
}).on('select2:unselect', function(evt) {
......
libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel sshpass openldap-devel mysql-devel libffi-devel
libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel sshpass openldap-devel mysql-devel libffi-devel openssh-clients
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment