xoxys.zigbee2mqtt/molecule/default/prepare.yml
Robert Kaussow 08e654ccb8
Some checks failed
ci/woodpecker/manual/lint Pipeline failed
ci/woodpecker/manual/test unknown status
ci/woodpecker/manual/docs unknown status
ci/woodpecker/manual/notify Pipeline was successful
refacor: migrate to systemd
2024-10-16 22:27:11 +02:00

12 lines
357 B
YAML

---
- name: Prepare
hosts: all
gather_facts: False
tasks:
- name: Bootstrap Python for Ansible
ansible.builtin.raw: |
command -v python3 python ||
((test -e /usr/bin/apt && (apt -y update && apt install -y python-minimal)) ||
echo "Warning: Python not boostrapped due to unknown platform.")
changed_when: False