Add Vagrant related files

This commit is contained in:
2018-06-27 10:17:56 +02:00
parent 4935e6394b
commit 60ad2c7ae2
16 changed files with 351 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
---
- name: Install common python packages
dnf:
name: "{{ item }}"
state: present
with_items:
- pipenv
- name: Delete Python cache files
command: find . -type d -name __pycache__ -exec rm -r {} +
args:
chdir: "{{ project_path }}"
changed_when: false
- name: Install packages
command: pipenv install --python=/usr/bin/python3.6m --three --system --deploy
- name: Install development related packages
command: pipenv install --python=/usr/bin/python3.6m --three --system --deploy --dev
args:
chdir: "{{ project_path }}"