1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/integration/targets/ce_lacp/tests/netconf/delete.yaml
Ansible Core Team aebc1b03fd Initial commit
2020-03-09 09:11:07 +00:00

32 lines
840 B
YAML

---
- debug:
msg: "START ce_lacp deleted integration tests on connection={{ ansible_connection }}"
- name: Merge the provided configuration with the exisiting running configuration
ce_lacp:
mode: Dynamic
trunk_id: 10
preempt_enable: True
state_flapping: True
port_id_extension_enable: True
unexpected_mac_disable: True
system_id: 1111-2222-3333
timeout_type: Fast
fast_timeout: 12
mixed_rate_link_enable: True
preempt_delay: 12
collector_delay: 12
max_active_linknumber: 2
select: Prority
priority: 23
global_priority: 123
state: absent
register: result
- name: Assert the configuration is reflected on host
assert:
that:
- "result['changed'] == true"
- debug:
msg: "END ce_lacp deleted integration tests on connection={{ ansible_connection }}"