-
Notifications
You must be signed in to change notification settings - Fork 549
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
replace_config required #129
Comments
Hi @t2d , |
This is a documentation error in the Ansible module (napalm_install_config). Doc string says: replace_config: description: If set to True the entire configuration on the device will be replaced during the commit. If set to False, we will merge the new config with the existing one. Default: False. required: False But code says: def main(): module = AnsibleModule( argument_spec=dict( hostname=dict(required=True), username=dict(required=True), password=dict(required=True), timeout=dict(required=False, default=60, type='int'), config_file=dict(required=True), dev_os=dict(required=True), commit_changes=dict(required=True), replace_config=dict(required=True), diff_file=dict(required=False, default=None), get_diffs=dict(required=False, choices=BOOLEANS, type='bool', default=True) |
Yes, this problem will be fixed in #132
Once it's merged it will start behaving as described in the docstring. |
Hey guys on a side note, I've been using the NAPALM ios integration with Ansible (before any changes from Kirk). And you may need to use |
Closing this one as it should be fixed by now. Otherwise, feel free to reopen. Thanks! |
Increasing napalm-base requirement to fix missing 'TRACEROUTE_VRF'
Add templates and j2 files to MANIFEST
Ansible task:
Ansible output:
but the code says
The text was updated successfully, but these errors were encountered: