Pure-Storage-Ansible / FlashArray-Collection

Ansible Collection for Pure Storage FlashArray
GNU General Public License v3.0
18 stars 23 forks source link

About the delete operation using purefa_syslog #532

Closed ryuyamag closed 8 months ago

ryuyamag commented 8 months ago

When deleting using purefa_syslog in an environment where multiple syslog servers were configured, the names of other syslog servers were renamed unintentionally. for example: syslogsrv > default_name_1

• Ansible version : core 2.15.8 • FlashArray Collection version: 1.24.0 • Purity version: 6.4.10 • FlashArray module causing the failure: purefa_syslog • An example task that fails: Delete exisitng syslog server entries • Response from ansible-playbook -vvvv when running a failing task: see attached log purefa_syslog.zip

sdodsley commented 8 months ago

@ryuyamag I beleive this is a caused by a combination of the module using old REST 1 code to delete the server, and newer Purity//FA functionality forcing a name if one is not specified correctly. This will be addressed when we convert this module to full REST 2 support before the next Collection release.