mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Replace network-admin for network-operator on eos_user collections test (#26891)
The 'admin' word was being masked by Ansible as potential cred. Let's just use network-operator since we are just testing here we can create users in aggregate.
This commit is contained in:
parent
e5c2e1b7be
commit
baa9290d71
1 changed files with 2 additions and 2 deletions
|
@ -21,14 +21,14 @@
|
|||
- username: test2
|
||||
authorize: yes
|
||||
state: present
|
||||
role: network-admin
|
||||
role: network-operator
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- 'result.changed == true'
|
||||
- 'result.commands == ["username test1 role network-admin", "username test2 role network-admin"]'
|
||||
- 'result.commands == ["username test1 role network-operator", "username test2 role network-operator"]'
|
||||
|
||||
- name: tearDown
|
||||
eos_user:
|
||||
|
|
Loading…
Reference in a new issue