From 442290703a6db99ca4f6a604e4130ea498d8df95 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:26:22 +0800 Subject: [PATCH] fix: pyfreerdp verify account, the default value of gateway_args field is wrong (#14490) * fix: pyfreerdp verify account, the default value of gateway_args field is wrong * fix: pyfreerdp verify account, the default value of gateway_args field is wrong --------- Co-authored-by: Ewall555 --- .../automations/change_secret/host/windows_rdp_verify/main.yml | 2 +- .../automations/push_account/host/windows_rdp_verify/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/accounts/automations/change_secret/host/windows_rdp_verify/main.yml b/apps/accounts/automations/change_secret/host/windows_rdp_verify/main.yml index 31da190ef..6c59ef7ef 100644 --- a/apps/accounts/automations/change_secret/host/windows_rdp_verify/main.yml +++ b/apps/accounts/automations/change_secret/host/windows_rdp_verify/main.yml @@ -30,6 +30,6 @@ login_user: "{{ account.username }}" login_password: "{{ account.secret }}" login_secret_type: "{{ account.secret_type }}" - gateway_args: "{{ jms_gateway | default(None) }}" + gateway_args: "{{ jms_gateway | default({}) }}" when: account.secret_type == "password" delegate_to: localhost diff --git a/apps/accounts/automations/push_account/host/windows_rdp_verify/main.yml b/apps/accounts/automations/push_account/host/windows_rdp_verify/main.yml index e15b5889e..0c650bfb3 100644 --- a/apps/accounts/automations/push_account/host/windows_rdp_verify/main.yml +++ b/apps/accounts/automations/push_account/host/windows_rdp_verify/main.yml @@ -30,6 +30,6 @@ login_user: "{{ account.username }}" login_password: "{{ account.secret }}" login_secret_type: "{{ account.secret_type }}" - gateway_args: "{{ jms_gateway | default(None) }}" + gateway_args: "{{ jms_gateway | default({}) }}" when: account.secret_type == "password" delegate_to: localhost