Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

vagrant, ansible_local and pip

yiorgos Sep 17th, 2018 417 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. ---
  2. - hosts: all
  3.   tasks:
  4.     - name: create the needed virtual environment and upgrade pip
  5.       pip:
  6.         chdir: /home/vagrant
  7.         virtualenv: work
  8.         virtualenv_command: /usr/bin/python3 -mvenv
  9.         name: pip
  10.         extra_args: --upgrade
  11.  
  12.     - name: now install the requirements
  13.       pip:
  14.         chdir: /home/vagrant
  15.         virtualenv: work
  16.         virtualenv_command: /usr/bin/python3 -mvenv
  17.         requirements: /vagrant/requirements.txt
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top