FreeBSD updated ansible to py37-ansible
This commit is contained in:
parent
018def1858
commit
e95a7f3e8a
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user