dell / ansible-powerstore

Ansible Modules for Dell PowerStore
GNU General Public License v3.0
34 stars 26 forks source link

[BUG]: smtp_config doesn't work unless smtp is already configured #28

Closed jason-technology closed 1 year ago

jason-technology commented 1 year ago

Describe the bug .smtp_config works fine for state management Is does not perform initial SMTP Server configuration smtp_id 0 does not exist until SMTP is configured for the first time

To Reproduce Steps to reproduce the behavior:

  1. Step 1 Run smtp_config against brand new cluster
  2. Step 2 Observe Failure message ~"SMTP Server ID 0 does not exist"
  3. Step 3 Manually enable SMTP
  4. Step 4 Run smtp_config against cluster
  5. Step 5 Observer success ...

Expected behavior I would expect this module to be able to perform initial configuration of a new cluster

System Information (please complete the following information): PowerStore 3.2 Ansible PowerStore 1.9(latest)

Issue was present on earlier versions but did not report at that time

Jennifer-John commented 1 year ago

Fix merged as part of PR #31