ansible/test/integration/targets/net_user/tests/nxos/userrole.yaml
David Newswanger 8643e9cb34 changed collection arg to argregate on 2.4 network modules (#26649)
* changed collection arg to argregate on 2.4 network modules

* replace users with aggregate in eos_user, junos_user, nxos_user

* added version_added to places where we replaced users with aggregate in the docs

* fix ios_static_route test

* update tests to reference aggregate instead of collection/users
2017-07-26 10:09:17 -04:00

20 lines
373 B
YAML

---
- name: Set multiple users role
net_user:
aggregate:
- name: netop
- name: netend
role: network-operator
state: present
provider: "{{ cli }}"
register: result
- assert:
that:
- 'result.changed == true'
- '"role network-operator" in result.commands'
- name: tearDown
net_user:
purge: yes
provider: "{{ cli }}"