mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
Running the playbook with --tags=user should trigger all user-modifying tasks, not just the initial setup.
14 lines
399 B
YAML
14 lines
399 B
YAML
---
|
|
- 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
|
|
tags:
|
|
- user
|
|
|
|
- name: Create system environment dir
|
|
file: path=/usr/local/env state=directory group=env mode=2775
|