added pyenv role

This commit is contained in:
Phil Skentelbery
2019-09-26 17:58:30 -05:00
parent 14074500ac
commit 1585114795
19 changed files with 437 additions and 0 deletions

View 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