Debian Codegraph @

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

raw symbols SCIP
1 ---
2 - name: Fetch vrf confext management output
3 cisco.nxos.nxos_command:
4 commands: show running-config | section 'vrf context management'
5 register: vrf_conf
6
7 - name: Parse the config to structured data
8 cisco.nxos.nxos_static_routes:
9 state: parsed
10 running_config: "{{ vrf_conf['stdout'][0] }}"
11 register: vrf_mgmt
12
13 - name: Setting booleans facts of management vrf
14 ansible.builtin.set_fact:
15 var_vrf_mgmt: "{{ vrf_mgmt['parsed'][0] }}"
16
17 - name: Include the CLI tasks
18 ansible.builtin.include_tasks: cli.yaml
19 tags:
20 - "cli"