2020-03-30 19:36:05 +01:00
|
|
|
- name: Install python packages
|
2019-03-14 21:34:29 +00:00
|
|
|
aur:
|
|
|
|
name: "{{ item }}"
|
|
|
|
become: true
|
|
|
|
become_user: aur_builder
|
2019-12-09 21:09:00 +00:00
|
|
|
loop:
|
2020-04-15 08:50:11 +01:00
|
|
|
- pyenv
|
|
|
|
- python-pip
|
|
|
|
- python-virtualenv
|
|
|
|
- python2-pip
|
|
|
|
- python2-virtualenv
|
2019-03-14 21:34:29 +00:00
|
|
|
|
2019-05-25 16:50:09 +01:00
|
|
|
- name: Create pyenv directory
|
|
|
|
file:
|
2019-03-14 21:34:29 +00:00
|
|
|
state: directory
|
2020-03-30 19:36:05 +01:00
|
|
|
path: /opt/pyenv
|
2019-03-14 21:34:29 +00:00
|
|
|
owner: "{{ user }}"
|
|
|
|
group: users
|