24 lines
391 B
YAML
24 lines
391 B
YAML
---
|
|
|
|
- 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/
|