diff --git a/tests/azure/templates/build_container.yml b/tests/azure/templates/build_container.yml
index d0de08098e059ad9ea9c24bbb9973d9e6792d7aa..2b47c1b4aa0453eda033327e5e177275028bf931 100644
--- a/tests/azure/templates/build_container.yml
+++ b/tests/azure/templates/build_container.yml
@@ -22,7 +22,7 @@ jobs:
     retryCountOnTaskFailure: 5
     displayName: Install tools
 
-  - script: pip install molecule-plugins[docker] requests<2.29
+  - script: pip install molecule-plugins[docker] "requests<2.29"
     retryCountOnTaskFailure: 5
     displayName: Install molecule