1---
2- debug:
3    msg:
4      START ios_bgp_global gathered integration tests on connection={{ ansible_connection
5      }}
6
7- include_tasks: _remove_config.yaml
8- include_tasks: _populate_config.yaml
9
10- block:
11    - name: Gather the provided configuration with the existing running configuration
12      register: result
13      cisco.ios.ios_bgp_global:
14        config:
15        state: gathered
16
17    - name: Assert
18      assert:
19        that:
20          - result.changed == false
21          - merged['after'] == result['gathered']
22
23  always:
24    - include_tasks: _remove_config.yaml
25