mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
committed by
GitHub
parent
e5c2e1b7be
commit
baa9290d71
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user