feat(tasks): install python3 on archlinux
This commit is contained in:
parent
8f9c4f3938
commit
59c78e6fa9
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
- name: raw | Install python3 on archlinux
|
||||
raw: |
|
||||
test -e /bin/pacman &&\
|
||||
pacman -S python3 --asexplicit --noconfirm ||\
|
||||
echo "pacman not available on this host" &&\
|
||||
exit 0;
|
||||
become: true
|
||||
register: pacman
|
||||
changed_when: |
|
||||
('reinstalling python' not in pacman.stdout) and
|
||||
('pacman not available on this host' not in pacman.stdout)
|
||||
tags:
|
||||
- raw
|
||||
- install
|
Loading…
Reference in New Issue