1
0
This commit is contained in:
michael 2022-09-03 01:29:46 +12:00
parent 0548f903a8
commit e5e3ed6931
2 changed files with 12 additions and 0 deletions

View File

@ -5,4 +5,5 @@
become: true become: true
roles: roles:
- python
- sshd - sshd

View File

@ -0,0 +1,11 @@
---
- 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