Skip to content

Commit 143370d

Browse files
author
Bob Ball
committed
Use sudo -H to install ansible to avoid permission failures.
Change-Id: Icf3d139dfba0b6f77e5a6b6ebf796f75585268f6 Conflicts: devstack-vm-gate-wrap.sh
1 parent 7ad4841 commit 143370d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devstack-vm-gate-wrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ set -x
434434
# Install ansible
435435
sudo -H pip install virtualenv
436436
virtualenv /tmp/ansible
437-
/tmp/ansible/bin/pip install ansible==$ANSIBLE_VERSION
437+
sudo -H /tmp/ansible/bin/pip install ansible==$ANSIBLE_VERSION
438438
export ANSIBLE=/tmp/ansible/bin/ansible
439439

440440
# Write inventory file with groupings

0 commit comments

Comments
 (0)