Skip to content

Commit

Permalink
arista-switch: Fix eos_config call
Browse files Browse the repository at this point in the history
eos_config does not support provider, nor connection: local
from at least 2022 [1] - since ansible>=7 (ansible-core 2.14).

[1]: ansible-collections/arista.eos@588d94b

Closes-Bug: #2058365
Change-Id: Ief37b7bee758e34dddb881a9e68728013861c0ec
  • Loading branch information
mnasiadka authored and Your Name committed Jul 8, 2024
1 parent cc3400d commit 59f3204
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
22 changes: 0 additions & 22 deletions ansible/inventory/group_vars/all/switches/arista

This file was deleted.

4 changes: 1 addition & 3 deletions ansible/roles/arista-switch/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
- name: Ensure Arista switches are configured
local_action:
module: eos_config
provider: "{{ arista_switch_provider }}"
eos_config:
src: arista-config.j2

0 comments on commit 59f3204

Please sign in to comment.