Skip to content

Instantly share code, notes, and snippets.

@ktbyers
Created February 17, 2017 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ktbyers/cf9e41b44f6c9df63f871b2db0d7a656 to your computer and use it in GitHub Desktop.
Save ktbyers/cf9e41b44f6c9df63f871b2db0d7a656 to your computer and use it in GitHub Desktop.
- name: NAPALM vlan configuration
hosts: pynet-sw1
gather_facts: False
tasks:
- napalm_install_config:
hostname: "{{ eapi_hostname }}"
username: "{{ eapi_username }}"
password: "{{ eapi_password }}"
dev_os: eos
config_file: pynet-sw1-merge.cfg
commit_changes: False
replace_config: False
diff_file: "{{ eapi_hostname }}.diff"
get_diffs: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment