Debian Codegraph @

ansible_collections/cisco/nxos/tests/integration/targets/nxos_bgp_global/tasks/main.yaml

raw symbols SCIP
1 ---
2 - name: Enable 'feature bgp'
3 cisco.nxos.nxos_feature:
4 feature: bgp
5 vars:
6 ansible_connection: ansible.netcommon.network_cli
7
8 - name: Enable fabric forwarding
9 cisco.nxos.nxos_config:
10 lines: feature fabric forwarding
11
12 - name: Run the CLI and NX-API tests
13 block:
14 - name: Include the CLI tasks
15 ansible.builtin.include_tasks: cli.yaml
16 tags:
17 - cli
18
19 - name: Include the NX-API tasks
20 ansible.builtin.include_tasks: nxapi.yaml
21 tags:
22 - nxapi
23
24 always:
25 - name: Disable 'feature bgp'
26 cisco.nxos.nxos_feature:
27 feature: bgp
28 state: disabled
29 vars:
30 ansible_connection: ansible.netcommon.network_cli
31
32 - name: Disable fabric forwarding
33 cisco.nxos.nxos_config:
34 lines: no feature fabric forwarding