-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ios_static_route module #25527
Add ios_static_route module #25527
Conversation
The test
The test
The test
The test
The test
The test
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor code issue. Docs and examples seem good.
What's the plan for tests for this?
argument_spec = dict( | ||
prefix=dict(required=True, type='str'), | ||
mask=dict(required=True, type='str'), | ||
next_hop(required=True, type='str'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing =dict
on this and the next few lines
961f224
to
6b7cd51
Compare
6b7cd51
to
4469d9d
Compare
|
||
if commands: | ||
if not module.check_mode: | ||
response = load_config(module, commands) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
load_config
doesn't return anything https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/ios.py#L121
Add ios_static_route module
ISSUE TYPE
COMPONENT NAME
ios_static_route
ANSIBLE VERSION