Skip to content

Commit

Permalink
Merge pull request #326 from stackhpc/upstream/2023.1-2024-09-16
Browse files Browse the repository at this point in the history
Synchronise 2023.1 with upstream
  • Loading branch information
priteau authored Sep 16, 2024
2 parents bed35f5 + afacd33 commit 2213a06
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 32 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
11 changes: 4 additions & 7 deletions doc/source/configuration/reference/physical-network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,13 @@ modules.

``switch_type`` should be set to ``arista``.

Provider
^^^^^^^^

* ``ansible_host`` is the hostname or IP address. Optional.

* ``ansible_user`` is the SSH username.

* ``ansible_ssh_pass`` is the SSH password.

* ``switch_auth_pass`` is the 'enable' password.
* ``ansible_connection`` should be ``ansible.netcommon.network_cli``.
* ``ansible_network_os`` should be ``arista.eos.eos``.
* ``ansible_become`` should be ``true``.
* ``ansible_become_method`` should be ``enable``.

Cumulus Linux (with NCLU)
-------------------------
Expand Down
7 changes: 7 additions & 0 deletions releasenotes/notes/bug-2058365-a9acdb3cdf2a29f9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
fixes:
- |
``eos_config`` does not support the ``provider`` parameter since Ansible 7.
Users are required to update their configuration according to `Arista EOS
documentation
<https://docs.openstack.org/kayobe/latest/configuration/reference/physical-network.html#arista-eos>`_.

0 comments on commit 2213a06

Please sign in to comment.