1
0
IaC/ansible/roles/python-install/tasks/main.yml

11 lines
230 B
YAML
Raw Permalink Normal View History

2022-09-02 09:29:46 -04:00
---
- 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