Skip to content

Commit

Permalink
add default value for br_rstp_priority
Browse files Browse the repository at this point in the history
Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
  • Loading branch information
insatomcat committed Sep 2, 2024
1 parent 36c06c8 commit 9b619ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/network_clusternetwork/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- name: Enable RSTP on team0 bridge
command: "/usr/bin/ovs-vsctl set Bridge team0 rstp_enable=true"
- name: Set RSTP priority on team0 bridge
command: "/usr/bin/ovs-vsctl set Bridge team0 other_config=rstp-priority={{ br_rstp_priority }}"
command: "/usr/bin/ovs-vsctl set Bridge team0 other_config=rstp-priority={{ br_rstp_priority | default(16384) }}"
- name: Restart conntrackd
ansible.builtin.systemd:
name: conntrackd
Expand Down

0 comments on commit 9b619ad

Please sign in to comment.