mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
8643e9cb34
* 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
20 lines
373 B
YAML
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 }}"
|