fix: 修复mongodb ssl账号测试失败,oracle推送用户失败问题 (#9421)

pull/9422/head
jiangweidong 2 years ago committed by GitHub
parent 003feb1aed
commit cb4410391c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,7 +16,10 @@ class PushOrVerifyHostCallbackMixin:
generate_private_key_path: callable
def host_callback(self, host, asset=None, account=None, automation=None, path_dir=None, **kwargs):
host = super().host_callback(host, asset=asset, account=account, automation=automation, **kwargs)
host = super().host_callback(
host, asset=asset, account=account, automation=automation,
path_dir=path_dir, **kwargs
)
if host.get('error'):
return host

@ -39,7 +39,6 @@
login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}"
login_database: "{{ jms_asset.spec_info.db_name }}"
mode: "{{ account.mode }}"
when:
- db_info is succeeded
- change_info is succeeded

Loading…
Cancel
Save