summaryrefslogtreecommitdiffstats
path: root/roles/python/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/python/tasks')
-rw-r--r--roles/python/tasks/main.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/python/tasks/main.yml b/roles/python/tasks/main.yml
index 686e99a9..18313a17 100644
--- a/roles/python/tasks/main.yml
+++ b/roles/python/tasks/main.yml
@@ -1,4 +1,7 @@
---
+- name: "Include OS-specific variables"
+ ansible.builtin.include_vars: "{{ ansible_os_family | lower }}.yml"
+
- name: "Install pyenv and pipx"
community.general.homebrew:
name:
@@ -79,5 +82,5 @@
- name: "Install packaging for community.general.pipx version installs"
become: true
ansible.builtin.package:
- name: "python-packaging"
+ name: "{{ python_packaging }}"
state: "present"