aboutsummaryrefslogtreecommitdiffstats
path: root/site.prerequisites.yml
blob: b409a8b89669d0824170983d31b407edb00f5828 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
- 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.