Skip to content

Synchronise 2024.1 with upstream - #609

Merged
Alex-Welsh merged 1 commit into
stackhpc/2024.1from
upstream/2024.1-2026-08-17
Aug 17, 2026
Merged

Synchronise 2024.1 with upstream#609
Alex-Welsh merged 1 commit into
stackhpc/2024.1from
upstream/2024.1-2026-08-17

Conversation

@github-actions

Copy link
Copy Markdown

This PR contains a snapshot of 2024.1 from upstream unmaintained/2024.1.

The arista-switch role was failing to apply switch interface
configuration with an error such as:

    fatal: [arista-switch]: FAILED! =>
        changed: false
        data: |-
            description ceph1
            % Invalid input
            ARISTA-SWITCH(config-s-ansible_17)#
        msg: |-
            description ceph1
            % Invalid input
            ARISTA-SWITCH(config-s-ansible_17)#

This was caused by wrong indentation of the template, as described in
the collection documentation [1]:

    The configuration lines in the source file should be similar to how
    it will appear if present in the running-configuration (live switch
    config) of the device including the indentation to ensure
    idempotency and correct diff. Arista EOS device config has 3 spaces
    indentation.

Also remove the exit statement which appears unneeded.

[1] https://docs.ansible.com/projects/ansible/latest/collections/arista/eos/eos_config_module.html

Closes-Bug: #2162130
Change-Id: I278897607d7f6375594cfa6341e16caefbc32fd0
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
(cherry picked from commit 851aefc)
@github-actions
github-actions Bot requested a review from a team as a code owner August 17, 2026 06:23
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Aug 17, 2026
@Alex-Welsh
Alex-Welsh merged commit 257ea68 into stackhpc/2024.1 Aug 17, 2026
3 checks passed
@Alex-Welsh
Alex-Welsh deleted the upstream/2024.1-2026-08-17 branch August 17, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated action performed by GitHub Actions synchronisation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants