added pyenv role
This commit is contained in:
12
roles/avanov.pyenv/tasks/Debian.yml
Normal file
12
roles/avanov.pyenv/tasks/Debian.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Ensure apt cache is up to date
|
||||
apt:
|
||||
update_cache: yes
|
||||
cache_valid_time: "{{ 48 * 60 * 60 }}" # consider the cache to be valid within 48 hours
|
||||
become: true
|
||||
|
||||
- name: Install development packages necessary for building Python
|
||||
apt:
|
||||
pkg: "{{ pyenv_debian_packages }}"
|
||||
state: present
|
||||
become: true
|
Reference in New Issue
Block a user