ansible_local: Fix pip setup on Arch Linux guest
Add 'python' package requirement. Tested against `archlinux/archlinux` box, at version "2019.11.24".
This commit is contained in:
parent
069122f42c
commit
bcdda99dfa
|
@ -28,7 +28,7 @@ module VagrantPlugins
|
|||
|
||||
def self.pip_setup(machine, pip_install_cmd = "")
|
||||
machine.communicate.sudo "pacman -Syy --noconfirm"
|
||||
machine.communicate.sudo "pacman -S --noconfirm base-devel curl git"
|
||||
machine.communicate.sudo "pacman -S --noconfirm base-devel curl git python"
|
||||
|
||||
Pip::get_pip machine, pip_install_cmd
|
||||
end
|
||||
|
|
|
@ -32,7 +32,7 @@ describe VagrantPlugins::Ansible::Cap::Guest::Arch::AnsibleInstall do
|
|||
expect(communicator).to receive(:sudo).once.ordered.
|
||||
with("pacman -Syy --noconfirm")
|
||||
expect(communicator).to receive(:sudo).once.ordered.
|
||||
with("pacman -S --noconfirm base-devel curl git")
|
||||
with("pacman -S --noconfirm base-devel curl git python")
|
||||
expect(VagrantPlugins::Ansible::Cap::Guest::Pip).to receive(:get_pip).once.ordered.
|
||||
with(machine, pip_install_cmd)
|
||||
|
||||
|
|
Loading…
Reference in New Issue