diff options
author | Ansible Core Team <info@ansible.com> | 2020-03-09 09:40:34 +0000 |
---|---|---|
committer | Ansible Core Team <info@ansible.com> | 2020-03-09 09:40:34 +0000 |
commit | 44ce3f381254b913bff1c735a2829003f5c240f9 (patch) | |
tree | 4ffffd9e84c1ba29943e8a65943af8a4db45c423 /test/integration/targets/ios_acl_interfaces/tests/cli/rtt.yaml | |
parent | 83c7ad1886999030ed55abb0f2201e8a08124b12 (diff) | |
download | ansible-44ce3f381254b913bff1c735a2829003f5c240f9.tar.gz |
Migrated to cisco.ios
Diffstat (limited to 'test/integration/targets/ios_acl_interfaces/tests/cli/rtt.yaml')
-rw-r--r-- | test/integration/targets/ios_acl_interfaces/tests/cli/rtt.yaml | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/test/integration/targets/ios_acl_interfaces/tests/cli/rtt.yaml b/test/integration/targets/ios_acl_interfaces/tests/cli/rtt.yaml deleted file mode 100644 index 999901092f..0000000000 --- a/test/integration/targets/ios_acl_interfaces/tests/cli/rtt.yaml +++ /dev/null @@ -1,78 +0,0 @@ ---- -- debug: - msg: "START ios_acl_interfaces round trip integration tests on connection={{ ansible_connection }}" - -- include_tasks: _remove_config.yaml - -- block: - - - name: Apply the provided configuration (Base config) - ios_acl_interfaces: - config: - - name: GigabitEthernet0/1 - access_groups: - - afi: ipv4 - acls: - - name: 110 - direction: in - - name: 123 - direction: out - - afi: ipv6 - acls: - - name: temp_v6 - direction: in - - name: test_v6 - direction: out - - name: GigabitEthernet0/2 - access_groups: - - afi: ipv4 - acls: - - name: 110 - direction: in - - name: 123 - direction: out - state: merged - register: base_config - - - name: Gather acl interfaces facts - ios_facts: - gather_subset: - - "!all" - - "!min" - gather_network_resources: - - acl_interfaces - - - name: Apply the provided configuration (config to be reverted) - ios_acl_interfaces: - config: - - name: GigabitEthernet0/1 - access_groups: - - afi: ipv4 - acls: - - name: 100 - direction: out - - name: 110 - direction: in - state: overridden - register: result - - - assert: - that: - - "result.commands|length == 8" - - "result.changed == true" - - "result.commands|symmetric_difference(overridden.commands) == []" - - - name: Revert back to base config using facts round trip - ios_acl_interfaces: - config: "{{ ansible_facts['network_resources']['acl_interfaces'] }}" - state: overridden - register: revert - - - assert: - that: - - "revert.commands|length == 8" - - "revert.changed == true" - - "revert.commands|symmetric_difference(rtt.commands) == []" - - always: - - include_tasks: _remove_config.yaml |