* Added nxos_acls module * Adding tests * Added integration tests * Integration tests update * Updated documentation * Replaced state changes * Added warning detection * Added port-protocol mapping * Added change * Merge update changes * Completed integration tests, rtt * Added unit tests * Linting Added metaclass info * Changed port protocol to str * Fixed shippable errors, added examples * Fixed type error, updated examples
34 lines
741 B
YAML
34 lines
741 B
YAML
---
|
|
- debug:
|
|
msg: Start nxos_acls gathered integration tests connection={{ansible_connection}}"
|
|
|
|
- include_tasks: populate_config.yaml
|
|
|
|
- block:
|
|
- name: Gather acls facts
|
|
nxos_facts: &facts
|
|
gather_subset:
|
|
- "!all"
|
|
- "!min"
|
|
gather_network_resources: acls
|
|
|
|
- name: Gathered
|
|
nxos_acls: &gathered
|
|
state: gathered
|
|
register: result
|
|
|
|
- assert:
|
|
that:
|
|
- "result.changed == false"
|
|
- "ansible_facts.network_resources.acls == result.gathered"
|
|
|
|
- name: Idempotence - Gathered
|
|
nxos_acls: *gathered
|
|
register: result
|
|
|
|
- assert:
|
|
that:
|
|
- "result.changed == false"
|
|
|
|
always:
|
|
- include_tasks: remove_config.yaml
|