Run sudo with -H parameter to set the proper home dir
Change-Id: Ib273f50bd7fb889e0025f58c11dd89f39ca8e4ca Closes-Bug: #1652112
This commit is contained in:
parent
b25bd5c04b
commit
3533808904
|
@ -126,7 +126,7 @@ function setup_ansible {
|
|||
# Record the running state of the environment as seen by the setup module
|
||||
ansible all -i ${RAW_INVENTORY} -m setup > /tmp/logs/ansible/initial-setup
|
||||
|
||||
sudo pip install ara
|
||||
sudo -H pip install ara
|
||||
sudo mkdir /etc/ansible
|
||||
sudo tee /etc/ansible/ansible.cfg<<EOF
|
||||
[defaults]
|
||||
|
|
Loading…
Reference in New Issue