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:
Ricardo Carrillo Cruz 2017-07-17 13:56:32 +02:00 committed by GitHub
parent e5c2e1b7be
commit baa9290d71

View file

@ -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: