- hosts: all gather_facts: false tasks: - name: bruteforce python installation with all packages possiblity 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