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
Module ios_config ingores parameter defaults in combination with config backup #39724
Comments
Files identified in the description: If these files are inaccurate, please update the |
It looks like the same cause as #39475 . I tried too. in 2.5.2 result (may be
in devel version result (may be
|
I tried the fix #39475 in my ansible. Works fine for me, but the problem after installing the patch is that the |
By design, I think backup option is not affected by default option. |
Oh, I just watched #39741. I will take notice on it. |
@akira6592 PR #39741 is merged in devel branch. Can you please retest on devel and check if it fixes the issue. |
@ganeshrn I confirmed that it was successfully fixed in my environment. Thank you. |
resolved_by_pr #39741 |
ISSUE TYPE
COMPONENT NAME
ios_config
ansible/lib/ansible/modules/network/ios/ios_config.py
Line 144 in 9eff1f1
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 16.04.4 LTS
SUMMARY
The parameter
defaults: no
do not work in combination with paramaeterbackup: yes
. The module allways do ashow running-config all
instead of ashow running-config
without all at the end. You don't need paramaters in your backup file that you are never changed in the config.STEPS TO REPRODUCE
EXPECTED RESULTS
Switch configuration without standard config included. Example config backup shows only first lines.
ACTUAL RESULTS
Switch configuration with standard config included. Example config backup shows only first lines.
The text was updated successfully, but these errors were encountered: