11 lines
230 B
YAML
11 lines
230 B
YAML
|
---
|
||
|
- name: check python
|
||
|
raw: test -e /usr/bin/python3
|
||
|
changed_when: false
|
||
|
failed_when: false
|
||
|
register: check_python
|
||
|
|
||
|
- name: install python
|
||
|
become: true
|
||
|
raw: pacman -Sy python3 --noconfirm
|
||
|
when: check_python.rc != 0
|