Skip to content
Merged
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions ansible/roles/sonic-common/tasks/sensors_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
- set_fact:
ansible_python_interpreter: "docker exec -i {{ pmon_ps.stdout }} python"

- set_fact:
minigraph_hwsku: "ACS-MSN2700"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we swap those two? Since "Mellanox-SN2700" is the new official SKU we'd like to set ACS-MSN2700 to become Mellanox-SN2700 instead.

when: minigraph_hwsku == 'Mellanox-SN2700'

- name: Gather sensors
sensors_facts: checks={{ sensors_checks[minigraph_hwsku] }}
vars:
Expand Down