-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
ios_config #macro keywords ignored in 'macro name' command by difference() #43861
Comments
Workaround by removing '#' from DEFAULT_COMMENT_TOKENS in module_utils/network/common/config.py to get desired results.
|
Greetings, we are still reviewing this issue. Stay tuned! :-) |
Thanks for the update. Looking forward to having this fixed so I no longer have to modify the DEFAULT_COMMENT_TOKENS each time I update. |
@justjais do you have anything thoughts here? This was raised in our community meeting today |
Thank you very much for your interest in Ansible. This plugin is no longer maintained in this repository and has been migrated to https://github.com/ansible-collections/cisco.ios Please re-submit this issue in the above repository. If you have further questions please stop by IRC or the mailing list:
|
SUMMARY
When using ios_config to push out 'macro' interface templates the '#macro keywords ...' line is ignored and triggers a change for the playbook run.
ISSUE TYPE
COMPONENT NAME
ios_config
ANSIBLE VERSION
CONFIGURATION
HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False
PERSISTENT_CONNECT_TIMEOUT(/etc/ansible/ansible.cfg) = 30
OS / ENVIRONMENT
N/A
STEPS TO REPRODUCE
Fix timeout issue with using 'macro name' command first.
#38420
Re-run playbook several time and will repeatedly apply because of the '#macro keywords' line.
EXPECTED RESULTS
Playbook applies once and not again.
ACTUAL RESULTS
Playbook is applied for every run.
The text was updated successfully, but these errors were encountered: