瀏覽代碼

Issue #540: Updated configure_smtp.yml

Signed-off-by: abhishek-s-a <a_sa@dellteam.com>
abhishek-s-a 3 年之前
父節點
當前提交
6348e5505a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      control_plane/tools/roles/idrac_2fa/tasks/configure_smtp.yml

+ 1 - 1
control_plane/tools/roles/idrac_2fa/tasks/configure_smtp.yml

@@ -35,7 +35,7 @@
     manager_attributes:
       RemoteHosts.1.SMTPServerIPAddress: "{{ smtp_server_ip }}"
       RemoteHosts.1.SMTPPort: 25
-      RemoteHosts.1.SMTPAuthentication: "Enabled"
+      RemoteHosts.1.SMTPAuthentication: "{{ smtp_authentication }}"
       RemoteHosts.1.SMTPUserName: "{{ smtp_username }}"
       RemoteHosts.1.SMTPPassword: "{{ smtp_password }}"
       EmailAlert.1.Address: "{{ use_email_address_2fa }}"