Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions ansible/roles/arista-switch/templates/arista-config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
{{ line }}
{% endfor %}

{% for interface, config in
arista_switch_interface_config.items() %}
interface {{ interface }}
{% for interface, config in arista_switch_interface_config.items() %}
interface {{ interface }}
{% if config.description is defined %}
description {{ config.description }}
description {{ config.description }}
{% endif %}
{% for line in config.config %}
{{ line }}
{{ line }}
{% endfor %}
exit
{% endfor %}
6 changes: 6 additions & 0 deletions releasenotes/notes/bug-2162130-872debd77abe5ff5.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
Resolves an issue that prevented Arista switch interface configuration from
being applied.
`LP#2162130 <https://bugs.launchpad.net/kayobe/+bug/2162130>`__