mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 10:25:39 +00:00
create a directory for system level virtualenvs
This commit is contained in:
parent
3456556165
commit
aff07b170e
1 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,12 @@
|
|||
---
|
||||
- name: Install virtualenv and virtualenvwrapper
|
||||
pacman: name=python-virtualenvwrapper state=present
|
||||
|
||||
- name: Create system environment group
|
||||
group: name=env state=present
|
||||
|
||||
- name: Add user to system environment group
|
||||
user: name={{ user.name }} groups=env append=yes
|
||||
|
||||
- name: Create system environment dir
|
||||
file: path=/usr/local/env state=directory group=env mode=0775
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue