diff --git a/ansible/roles/openvswitch/tasks/post-config.yml b/ansible/roles/openvswitch/tasks/post-config.yml
index ce412b8842505e91a5d3ffd0b23779a48c067b2e..74995b1274fd1f341a8e5d369c4857dcbe0fd39e 100644
--- a/ansible/roles/openvswitch/tasks/post-config.yml
+++ b/ansible/roles/openvswitch/tasks/post-config.yml
@@ -2,7 +2,16 @@
 # NOTE(mnasiadka): external_ids:system-id uniquely identifies a physical system, used by OVN and other controllers
 - name: Set system-id
   become: true
-  command: docker exec openvswitch_vswitchd ovs-vsctl set Open_vSwitch . external_ids:system-id={{ openvswitch_system_id }}
+  kolla_toolbox:
+    user: root
+    module_name: openvswitch_db
+    module_args:
+      table: Open_vSwitch
+      record: .
+      col: external_ids
+      key: system-id
+      value: "{{ openvswitch_system_id }}"
+      state: present
 
 - name: Ensuring OVS bridge is properly setup
   become: true