Skip to content

Commit e5c5ca7

Browse files
committed
Addressing lint issues reported by PR build failures.
Signed-off-by: lakshmj <[email protected]>
1 parent 07732e1 commit e5c5ca7

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

examples/routerdynamicrouting_info.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
register: bgp_summary
1818

1919
- name: Display BGP summary
20-
debug:
20+
ansible.builtin.debug:
2121
var: bgp_summary.info
2222

2323
- name: Get IP routing table
@@ -32,7 +32,7 @@
3232
register: ip_route
3333

3434
- name: Display routing table
35-
debug:
35+
ansible.builtin.debug:
3636
var: ip_route.info
3737

3838
- name: Get OSPF neighbor information
@@ -47,5 +47,5 @@
4747
register: ospf_neighbors
4848

4949
- name: Display OSPF neighbors
50-
debug:
50+
ansible.builtin.debug:
5151
var: ospf_neighbors.info

plugins/modules/routerdynamicrouting_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
---
2121
module: routerdynamicrouting_info
2222
short_description: Retrieve information from dynamic routing configuration.
23-
description:
23+
description:
2424
- Retrieve information from dynamic routing configuration.
2525
- This module is a read-only data source that executes show commands.
2626
- The commandstring parameter must start with 'sh' or 'show' for security.

tests/integration/targets/routerdynamicrouting_info/tasks/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
- name: Test routerdynamicrouting_info module
3-
hosts: citrix_adc
4-
gather_facts: false
5-
collections:
6-
- netscaler.adc
7-
3+
delegate_to: localhost
4+
register: result
5+
check_mode: true
6+
tags: test
87
tasks:
98
# Test 1: Valid command with "show"
109
- name: Test valid show command

0 commit comments

Comments
 (0)