aboutsummaryrefslogtreecommitdiffstats
path: root/site.prerequisites.yml
blob: 54955229ffed5ecb5486805ef99491808c38c82e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---

- hosts: all
  gather_facts: false
  tasks:
    - name: bruteforce python installation with all packages possiblity  # noqa: no-changed-when
      ansible.builtin.raw: |
        ! pkg_add python3 &&
        ! pkg install python3 &&
        apk add python
      register: result
      ignore_errors: true
      failed_when: result.rc not in [0, 1]
      poll: 0
remember that computers suck.