FreeBSD updated ansible to py37-ansible

This commit is contained in:
Sergey Yelin 2021-02-20 18:35:07 +03:00
parent 018def1858
commit e95a7f3e8a
No known key found for this signature in database
GPG Key ID: 0B653F3417EAEC54
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ module VagrantPlugins
if install_mode != :default
raise Ansible::Errors::AnsiblePipInstallIsNotSupported
else
machine.communicate.sudo "pkg install -qy py36-ansible"
machine.communicate.sudo "pkg install -qy py37-ansible"
end
end

View File

@ -31,7 +31,7 @@ describe VagrantPlugins::Ansible::Cap::Guest::FreeBSD::AnsibleInstall do
describe "when install_mode is :default (or unknown)" do
it "installs ansible with 'pkg' package manager" do
expect(communicator).to receive(:sudo).with("pkg install -qy py36-ansible")
expect(communicator).to receive(:sudo).with("pkg install -qy py37-ansible")
subject.ansible_install(machine, :default, "", "", "")
end