Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor(eos_designs): Set peer facts per device instead of shared #1614

Conversation

ClausHolbechArista
Copy link
Contributor

Change Summary

Set peer facts per device instead of shared

Component(s) name

arista.avd.eos_designs

Proposed changes

Ansible set facts on all devices when using set_fact or yaml_templates_to_facts in combination with run_once and not using delegate_to.

This was not clear to me, when writing the original implementation of peer facts, so this PR simplifies the playbook and code a bit, by leveraging this behavior.

How to test

No changes to any output
I have not been able to see any change to runtime, but welcome test results from others. (Run it a few times with devel vs this one and compare)

Checklist

User Checklist

  • N/A

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

@ClausHolbechArista ClausHolbechArista requested a review from a team as a code owner March 21, 2022 12:36
@github-actions github-actions bot added the role: eos_designs issue related to eos_designs role label Mar 21, 2022
Copy link
Member

@carlbuchmann carlbuchmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@carlbuchmann carlbuchmann merged commit ea243c8 into aristanetworks:devel Mar 21, 2022
@carlbuchmann carlbuchmann added this to the v3.4.0 milestone Apr 1, 2022
@ClausHolbechArista ClausHolbechArista deleted the refactor-set-eos-designs-peer-facts branch December 22, 2022 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
role: eos_designs issue related to eos_designs role
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants