dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
329 stars 162 forks source link

[FEATURE]: Allow SNMP v3 Passphrase configuration through the `idrac_user` module #691

Open aurelien-bareille opened 2 months ago

aurelien-bareille commented 2 months ago

Describe the solution you'd like Allow the SNMPv3 Passphrase configuration options to be set by the idrac_user module. For now those options are configurable through the WebUI (maybe also the iDRAC CLI ?) but not through the Ansible dellemc.openmanage.idrac_user module or the Ansible dellemc.openmanage.idrac_user role.

Currently the only options I've found allowing for SNMP configuration for a specific user are:

(If theses passphrases options are to be set with another module I've missed, I'll be happy to know which one)

Describe alternatives you've considered For now my alternative is to manually configure the SNMP v3 Passphrase settings in the WebUI.

Additional context The corresponding WebUI options are:

image

Community Note

scottsignal commented 15 hours ago

I am a little late to the party, however, I may have a workaround for you. I am not using the idrac_user at all to configure accounts.

I am setting these settings via dellemc.openmanage.idrac_attributes

Users.7.SNMPv3AuthenticationPassphrase: "passphrase_here" Users.7.SNMPv3PrivacyPassphrase: "passphrase_here" Users.7.EnableSNMPv3Passphrase: Enabled

My example above is using user#7, and you would need to change it for whatever account slot you are using for SNMPv3.