Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - hosts: all
- tasks:
- - name: create the needed virtual environment and upgrade pip
- pip:
- chdir: /home/vagrant
- virtualenv: work
- virtualenv_command: /usr/bin/python3 -mvenv
- name: pip
- extra_args: --upgrade
- - name: now install the requirements
- pip:
- chdir: /home/vagrant
- virtualenv: work
- virtualenv_command: /usr/bin/python3 -mvenv
- requirements: /vagrant/requirements.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement