diff --git a/hosts/all.yaml b/hosts/all.yaml
index 39b6f12be734fd0fac1d18c7445576f261b0bbc4..bde70e2637d62ffcd8d00a44f7af777ce118cfe6 100644
--- a/hosts/all.yaml
+++ b/hosts/all.yaml
@@ -17,6 +17,7 @@ all:
   vars:
     # Force usage of Python3.
     ansible_python_interpreter: python3
+    ansible_connection: ssh
   children:
     pkg_mgr_apt:
     pkg_mgr_opkg: