--- - debug: msg: "Start eos_acl_interfaces replced integration tests ansible_connection={{ ansible_connection }}" - include_tasks: _populate.yaml - block: - name: replace given acl interfaces configuration eos_acl_interfaces: &replaced config: - name: "{{ Interfaces['int2'] }}" access_groups: - afi: ipv4 acls: - name: aclv401 direction: in state: replaced become: yes register: result - assert: that: - "result.commands|length == 3" - "result.changed == true" - "result.commands|symmetric_difference(replaced.commands) == []" - name: Idempotency check eos_acl_interfaces: *replaced become: yes register: result - assert: that: - "result.commands|length == 0" - "result.changed == false" always: - include_tasks: _remove_config.yaml