summaryrefslogtreecommitdiffstats
path: root/roles/python
diff options
context:
space:
mode:
Diffstat (limited to 'roles/python')
-rw-r--r--roles/python/tasks/main.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/roles/python/tasks/main.yml b/roles/python/tasks/main.yml
index 9248b6bb..45451561 100644
--- a/roles/python/tasks/main.yml
+++ b/roles/python/tasks/main.yml
@@ -1,11 +1,10 @@
---
- name: "Install pyenv and pipx"
- ansible.builtin.command:
- cmd: "/home/linuxbrew/.linuxbrew/bin/brew install {{ item }}"
- creates: "/home/linuxbrew/.linuxbrew/bin/{{ item }}"
- with_items:
- - "pyenv"
- - "pipx"
+ community.general.homebrew:
+ name:
+ - "pyenv"
+ - "pipx"
+ state: "present"
- name: "Add pyenv to shell profile"
ansible.builtin.blockinfile: