mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Replace username for name in eos_user integration tests (#28067)
username param is read by eos action plugion load_provider, if present it is set as the play context remote user. That means if you have a play remote_user: admin it won't be used, but instead whatever is put in the task argument username. Changing the tests to use name fixes the issue, we may want to remove username as valid module argument in other change.
This commit is contained in:
parent
0e334ca821
commit
a5b483da16
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: Create user
|
||||
eos_user:
|
||||
username: netend
|
||||
name: netend
|
||||
privilege: 15
|
||||
role: network-operator
|
||||
state: present
|
||||
|
@ -17,8 +17,8 @@
|
|||
- name: Collection of users
|
||||
eos_user:
|
||||
aggregate:
|
||||
- username: test1
|
||||
- username: test2
|
||||
- name: test1
|
||||
- name: test2
|
||||
authorize: yes
|
||||
state: present
|
||||
role: network-operator
|
||||
|
|
Loading…
Reference in a new issue