eos_user fails when setting privilege on new user #31680
Labels
affects_2.4
This issue/PR affects Ansible v2.4
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
networking
Network category
support:network
This issue/PR relates to code supported by the Ansible Network Team.
ISSUE TYPE
COMPONENT NAME
eos_user
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
When creating a user with the eos_user module passing a value for the privilege attribute causes the play to fail if the user doesn't already exist
STEPS TO REPRODUCE
EXPECTED RESULTS
The expectation here is that the user will be created with a password and privilege level
ACTUAL RESULTS
We see the following error message:
on eapi
on cli
You can see in the cli version that the commands are coming in the wrong order. The privilege needs to be set after the user is created.
The text was updated successfully, but these errors were encountered: