xoxys.podman/molecule/default/prepare.yml
Robert Kaussow b0eba13a65
All checks were successful
ci/woodpecker/push/notify Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci: fix molecule prepare
2024-02-03 22:47:06 +01: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