Skip to content

Commit

Permalink
update path for ansible venv in centos7 vagrant vm
Browse files Browse the repository at this point in the history
  • Loading branch information
pescobar committed Oct 29, 2021
1 parent 86898e8 commit be54e3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests-devel/Vagrantfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Vagrant.configure("2") do |config|
sudo yum -y install git
sudo yum -y install sshpass
sudo yum -y install python3-virtualenv
virtualenv-3 ~vagrant/.venv_ansible && source ~vagrant/.venv_ansible/bin/activate && pip install ansible
echo "source ~vagrant/.venv_ansible/bin/activate" >> ~vagrant/.bashrc
cd /vagrant/ansible && source ~vagrant/.venv_ansible/bin/activate && ansible-galaxy role install -r requirements.yml -p ./roles/
virtualenv-3 ~vagrant/venv_ansible && source ~vagrant/venv_ansible/bin/activate && pip install ansible
echo "source ~vagrant/venv_ansible/bin/activate" >> ~vagrant/.bashrc
cd /vagrant/ansible && source ~vagrant/venv_ansible/bin/activate && ansible-galaxy role install -r requirements.yml -p ./roles/
SHELL
end
end
Expand Down

0 comments on commit be54e3c

Please sign in to comment.