mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Forgot one occurance of using the raw python vs. python3
This commit is contained in:
parent
5f82adf122
commit
dfabbbb7fe
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ module VagrantPlugins
|
|||
command = 'test -x "$(command -v ansible)"'
|
||||
|
||||
unless version.empty?
|
||||
command << "&& [[ $(python -c \"import importlib.metadata; print(importlib.metadata.version('ansible'))\") == \"#{version}\" ]]"
|
||||
command << "&& [[ $(python3 -c \"import importlib.metadata; print(importlib.metadata.version('ansible'))\") == \"#{version}\" ]]"
|
||||
end
|
||||
|
||||
machine.communicate.test command, sudo: false
|
||||
|
|
|
|||
Loading…
Reference in a new issue