xppl/ansible/roles/pipenv/tasks/main.yml

24 lines
391 B
YAML
Raw Normal View History

2018-11-18 18:33:40 +01:00
---
- name: Ensure python3-pip package is installed.
become: true
apt:
name: python3-pip
state: present
- name: Ensure Pipenv is installed.
become: true
pip:
name: pipenv
executable: pip3
- name: Run a Pipenv package sync.
become: true
become_user: xppl
environment:
LANG: C.UTF-8
LC_ALL: C.UTF-8
command: pipenv sync
args:
chdir: /var/xppl/